mischief-ecs
Safe HaskellNone
LanguageGHC2024

Mischief.ECS.Relationships.Graph

Documentation

type family RelOutgoing (b :: Bool) :: Type -> Type where ... Source #

class ListToOutgoing b where Source #

Methods

listToOutgoing :: [Entity] -> b Source #

Instances

Instances details
ListToOutgoing (Maybe Entity) Source # 
Instance details

Defined in Mischief.ECS.Relationships.Graph

ListToOutgoing [Entity] Source # 
Instance details

Defined in Mischief.ECS.Relationships.Graph

outgoing' :: forall c m w. (Component c, MonadSystem w m) => Entity -> m [Entity] Source #

incoming :: forall c m w. (Component c, BundleTypes c, MonadSystem w m) => Entity -> m [Entity] Source #