Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 #
Instances
Monad m => ArrowDynamicSystem DynamicQuery (DynamicSystemT m) Source # | |
Defined in Aztecs.ECS.System.Dynamic Methods mapDyn :: Set ComponentID -> DynamicQuery i o -> DynamicSystemT m i [o] Source # mapSingleDyn :: Set ComponentID -> DynamicQuery i o -> DynamicSystemT m i o Source # mapSingleMaybeDyn :: Set ComponentID -> DynamicQuery i o -> DynamicSystemT m i (Maybe o) Source # filterMapDyn :: Set ComponentID -> DynamicQuery i o -> (Node -> Bool) -> DynamicSystemT m i [o] Source # |