#include <monster.hpp>

Public Member Functions | |
| Monster (MonsterClass *) | |
| Constructor. | |
| ~Monster () | |
| Destructor. | |
| MonsterClass * | getSpecy () |
| Returns monster specy. | |
| void | update () |
| Performs one step of controller logic. | |
| void | perform () |
| Performs an attack, if needed. | |
| virtual int | getAttackType () const |
| Gets the type of the attack the being is currently performing. | |
| void | died () |
| Kills the being. | |
| virtual int | damage (Actor *source, const Damage &damage) |
| Calls the damage function in Being and updates the aggro list. | |
| void | forgetTarget (Thing *being) |
| Removes a being from the anger list. | |
| virtual unsigned char | getWalkMask () const |
| Returns the way the actor is blocked by other things on the map. | |
Static Public Attributes | |
| static const int | KILLSTEAL_PROTECTION_TIME = 100 |
| Time in game ticks until ownership of a monster can change. | |
Protected Member Functions | |
| virtual Map::BlockType | getBlockType () const |
| Returns the way the actor blocks pathfinding for other objects. | |
Friends | |
| struct | MonsterTargetEventDispatch |
Definition at line 206 of file monster.hpp.
const int Monster::KILLSTEAL_PROTECTION_TIME = 100 [static] |
Time in game ticks until ownership of a monster can change.
Definition at line 210 of file monster.hpp.
Referenced by damage().
1.5.5