mischief-ecs
Safe HaskellNone
LanguageGHC2024

Mischief.ECS.Components.Runnable

Documentation

class Runnable (c :: k) where Source #

Methods

runFor' :: Proxy c -> (forall d. (Component d, Bundle d) => Proxy d -> System ()) -> System () Source #

Instances

Instances details
(Component c, Bundle c) => Runnable (c :: Type) Source # 
Instance details

Defined in Mischief.ECS.Components.Runnable

Methods

runFor' :: Proxy c -> (forall d. (Component d, Bundle d) => Proxy d -> System ()) -> System () Source #

(Runnable r0, Runnable r1) => Runnable ((r0, r1) :: Type) Source # 
Instance details

Defined in Mischief.ECS.Components.Runnable

Methods

runFor' :: Proxy (r0, r1) -> (forall d. (Component d, Bundle d) => Proxy d -> System ()) -> System () Source #

runFor :: forall {k} (c :: k). Runnable c => (forall d. (Component d, Bundle d) => Proxy d -> System ()) -> System () Source #