#include <buff.h>
|
| static Buff * | append (Char *target, const std::string &buff) |
| |
| static FlavourBuff * | append (Char *target, const std::string &buffClass, float duration) |
| |
| static Buff * | affect (Char *target, const std::string &buffClass) |
| |
| static FlavourBuff * | affect (Char *target, const std::string &buffClass, float duration) |
| |
| static FlavourBuff * | prolong (Char *target, const std::string &buffClass, float duration) |
| |
| static void | detach (Buff *buff) |
| |
| static void | detach (Char *target, const std::string &cl) |
| |
| static void | fixTime () |
| |
| static void | clear () |
| |
| static Char * | findChar (int pos) |
| |
| static Actor * | findById (int id) |
| |
| static void | init () |
| |
| static void | addDelayed (Actor *actor, float delay) |
| |
| static void | remove (Actor *actor) |
| |
| static void | add (Actor *actor) |
| |
| static void | occupyCell (Char *ch) |
| |
| static void | freeCell (int pos) |
| |
| static void | process () |
| |
| Char * | target |
| |
| virtual void | spend (float time) |
| |
| void | postpone (float time) |
| |
| float | cooldown () |
| |
| void | diactivate () |
| |
| virtual void | onAdd () |
| |
| virtual void | onRemove () |
| |
◆ act()
◆ CLASSNAME()
◆ CLASSOBJECT()
| Hunger::CLASSOBJECT |
( |
Hunger | | ) |
|
◆ icon()
◆ isStarving()
◆ onDeath()
◆ restoreFromBundle()
| void Hunger::restoreFromBundle |
( |
Bundle * | bundle | ) |
|
|
virtual |
Reimplemented from Actor.
◆ satisfy()
| void Hunger::satisfy |
( |
float | energy | ) |
|
◆ storeInBundle()
| void Hunger::storeInBundle |
( |
Bundle * | bundle | ) |
|
|
virtual |
Reimplemented from Actor.
◆ toString()
| virtual String Hunger::toString |
( |
| ) |
|
|
inlinevirtual |
◆ HUNGRY
| const float Hunger::HUNGRY = 260.0f |
|
static |
◆ STARVING
| const float Hunger::STARVING = 360.0f |
|
static |
The documentation for this class was generated from the following files: