component.ownercomponent - ICE 0.1 API documentation

ICE 0.1 API documentation

# 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.

Copyright © Ferdinand Majerech 2011. | Page generated by AutoDDoc and Ddoc.