se_core::Health Class Reference

#include <Health.hpp>

List of all members.

Public Member Functions

 Health ()
short maxHitpoints () const
short currentHitpoints () const
void adjustHitpoints (StatComponent &actor, int amount)
void adjustMaxHitpoints (StatComponent &actor, int amount)
void initHitpoints (int max, int now)


Constructor & Destructor Documentation

se_core::Health::Health  ) 
 

Definition at line 34 of file Health.cpp.


Member Function Documentation

void se_core::Health::adjustHitpoints StatComponent actor,
int  amount
 

Definition at line 51 of file Health.cpp.

References se_core::HealthListeners::castHealthChangedEvent(), and se_core::SimSchema::healthListeners().

void se_core::Health::adjustMaxHitpoints StatComponent actor,
int  amount
 

Definition at line 60 of file Health.cpp.

References se_core::HealthListeners::castHealthChangedEvent(), and se_core::SimSchema::healthListeners().

short se_core::Health::currentHitpoints  )  const
 

Definition at line 45 of file Health.cpp.

void se_core::Health::initHitpoints int  max,
int  now
 

Definition at line 68 of file Health.cpp.

short se_core::Health::maxHitpoints  )  const
 

Definition at line 39 of file Health.cpp.


The documentation for this class was generated from the following files:

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:26 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo