component.deathtimeoutcomponent - ICE 0.1 API documentation

ICE 0.1 API documentation

# component.deathtimeoutcomponent

Component that limits the lifetime of an entity.

struct DeathTimeoutComponent;

  Component that limits the lifetime of an entity.

  double timeLeft;

    Time left for the entity to live, in (game time) seconds.

  this(ref Node yaml);

    Load from a YAML node. Throws YAMLException on error.

  pure nothrow this(const(double) timeLeft);

    Construct manually.

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