View Source Ecspanse.Component.Children (ECSpanse v0.10.0)
The Children
component is a special component provided by the framework
to maintain references to an entity's child entities.
Dedicated queries and commands are provided to interact with this component.
An empty Children
component is automatically added upon entity creation,
even if no child entities are defined at the time of creation.
Ecspanse parent-child relationships are bidirectional associations
Summary
Types
@type t() :: %Ecspanse.Component.Children{ __meta__: term(), entities: [Ecspanse.Entity.t()] }
Entity's children list.