aztecs-0.8.0: A modular game engine and Entity-Component-System (ECS) for Haskell.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Aztecs.ECS.System.Dynamic.Class

Documentation

class ArrowDynamicSystem q arr | arr -> q where Source #

Methods

mapDyn :: Set ComponentID -> q i o -> arr i [o] Source #

Map all matching entities, storing the updated entities.

mapSingleDyn :: Set ComponentID -> q i o -> arr i o Source #

mapSingleMaybeDyn :: Set ComponentID -> q i o -> arr i (Maybe o) Source #

filterMapDyn :: Set ComponentID -> q i o -> (Node -> Bool) -> arr i [o] Source #