component.healthsystem - ICE 0.1 API documentation

ICE 0.1 API documentation

# component.healthsystem

Manages entity health and destroys entities that have run out of health.

class HealthSystem: component.system.System;

  Manages entity health and destroys entities that have run out of health.

  this(EntitySystem entitySystem);

    Construct a HealthSystem working on entities from specified EntitySystem.

  void update();

    Destroy entities that have run out of health.

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