component.statisticscomponent - ICE 0.1 API documentation

ICE 0.1 API documentation

# component.statisticscomponent

Provides statistics to an entity, such as how many entities it has killed.

struct StatisticsComponent;

  Provides statistics to an entity, such as how many entities it has killed.

  uint entitiesKilled;

    How many entities have we killed?

  uint burstsFired;

    How many bursts have we fired?

  uint expGained;

    How much EXP have we gained?

  this(ref Node yaml);

    Load from a YAML node. Throws YAMLException on error.

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