mischief-ecs
Safe HaskellNone
LanguageGHC2024

Mischief.ECS.App

Synopsis

Documentation

data App Source #

Constructors

App 

Fields

addPlugin :: Plugin p => App -> IO () Source #

runApp :: App -> IO () Source #

runSchedule :: forall {k} (sch :: k). Schedule sch => System () Source #

toolsGet :: forall c m w. (MonadSystem w m, Component c) => Proxy c -> Entity -> m (Maybe c) Source #

toolsSet :: Bundle c => c -> Entity -> System () Source #

toolsGetRAny :: forall c m w. (Component c, MonadSystem w m, IsExclusiveRel c ~ 'False) => Proxy c -> Entity -> m (Maybe [Rel c]) Source #

tick :: System () Source #

Increment the World's Tick.