component.ownercomponent
Gives entity an owner entity (e.g. entity that fired a projectile is its owner).
- struct OwnerComponent;
Gives entity an owner entity (e.g. entity that fired a projectile is its owner).
- EntityID ownerID;
Owner of the entity.
- this(ref Node yaml);
Load from a YAML node. Throws YAMLException on error.
- pure nothrow this(const(EntityID) id);
Construct from ID of the owner entity.