Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Aztecs.ECS.Scheduler
Documentation
class Scheduler (m :: k) (s :: k1) where Source #
Associated Types
type SchedulerInput (m :: k) (s :: k1) :: [Type] Source #
type SchedulerOutput (m :: k) (s :: k1) Source #
Methods
buildSchedule :: HSet (SchedulerInput m s) -> SchedulerOutput m s Source #
Instances
(AllSystems m systems, BuildSystemGraph systems ~ graph, TopologicalSort graph ~ levels, ScheduleLevels m levels ~ output, ScheduleLevelsBuilder m levels systems) => Scheduler (m :: Type -> Type) (HSet systems :: Type) Source # | |||||||||
Defined in Aztecs.ECS.Scheduler.Internal Associated Types
Methods buildSchedule :: HSet (SchedulerInput m (HSet systems)) -> SchedulerOutput m (HSet systems) Source # |
runSchedule :: forall m cs s. (Applicative m, Execute m (SchedulerOutput m s), s ~ HSet (SchedulerInput m s), AllSystems m (SchedulerInput m s), ScheduleLevelsBuilder m (TopologicalSort (BuildSystemGraph (SchedulerInput m s))) (SchedulerInput m s)) => s -> m () Source #
data Run (constraints :: [Type]) sys where Source #
Instances
System m sys => System m (Run constraints sys) Source # | |
RemainingAfterExtract sys (Run constraints sys ': rest) ~ rest => ExtractFromHSet sys (Run constraints sys ': rest) Source # | |
Defined in Aztecs.ECS.Scheduler.Internal Methods extractFromHSet :: HSet (Run constraints sys ': rest) -> (sys, HSet (RemainingAfterExtract sys (Run constraints sys ': rest))) Source # | |
Show sys => Show (Run constraints sys) Source # | |
(System m (Run constraints sys), AllSystems m rest) => AllSystems (m :: Type -> Type) (Run constraints sys ': rest :: [Type]) Source # | |
Defined in Aztecs.ECS.Schedule.Internal | |
type SystemIn m (Run constraints sys) Source # | |
Defined in Aztecs.ECS.Schedule.Internal |