| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Mischief.ECS.App
Synopsis
- data App = App {}
- newApp :: Plugin p => p -> IO App
- runApp :: App -> IO ()
- runSchedule :: Schedule sch => sch -> System ()
- runSchedule' :: Entity -> System ()
- appInit :: System ()
- register :: forall {k} (c :: k). Runnable c => System ()
- registerComponent :: Component c => Proxy c -> System ()
- getTools :: SystemTools
- toolsGet :: forall c m w. (MonadSystem w m, QueryType c) => Proxy c -> Entity -> m (Maybe c)
- toolsSet :: Bundle c => c -> Entity -> System ()
- toolsGetRAny :: forall c m w. (Component c, MonadSystem w m, RelExclusivity c ~ 'Inclusive) => Proxy c -> Entity -> m (Maybe [Rel c])
- toolsSpawnByInsert :: Bundle b => Entity -> b -> System ()
- incTick :: Tick -> Maybe Tick
- tick :: System ()
Documentation
runSchedule :: Schedule sch => sch -> System () Source #
runSchedule' :: Entity -> System () Source #
toolsGet :: forall c m w. (MonadSystem w m, QueryType c) => Proxy c -> Entity -> m (Maybe c) Source #
toolsGetRAny :: forall c m w. (Component c, MonadSystem w m, RelExclusivity c ~ 'Inclusive) => Proxy c -> Entity -> m (Maybe [Rel c]) Source #