packages feed

mischief-ecs-0.2.1.0: src/Mischief/ECS/Schedules.hs

{-# LANGUAGE AllowAmbiguousTypes #-}

module Mischief.ECS.Schedules where

import Mischief.ECS.App
import Mischief.ECS.App.Schedules
import Mischief.ECS.Entities
import Mischief.ECS.World

get :: forall sc. (Schedule sc) => System Entity
get = scheduleEntity @sc

run :: forall sc. (Schedule sc) => System ()
run = runSchedule @sc