mischief-ecs
Safe HaskellNone
LanguageGHC2024

Mischief.ECS.App

Synopsis

Documentation

data App Source #

Constructors

App 

Fields

newApp :: Plugin p => p -> IO App Source #

runApp :: App -> IO () Source #

runSchedule :: Schedule sch => sch -> System () Source #

register :: forall {k} (c :: k). Runnable c => System () Source #

toolsGet :: forall c m w. (MonadSystem w m, QueryType 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, RelExclusivity c ~ 'Inclusive) => Proxy c -> Entity -> m (Maybe [Rel c]) Source #

tick :: System () Source #

Increment the World's Tick.