#include <npc.hpp>
Public Member Functions | |
NPC (const std::string &name, int id, Script *) | |
void | update () |
Cleans obsolete attribute modifiers. | |
void | enable (bool enabled) |
Enables the NPC. | |
void | prompt (Character *, bool restart) |
Prompts NPC. | |
void | select (Character *, int) |
Selects an NPC proposition. | |
int | getNPC () const |
Gets NPC ID. | |
virtual unsigned char | getWalkMask () const |
Gets the way an NPC is blocked by other things on the map. | |
Protected Member Functions | |
virtual Map::BlockType | getBlockType () const |
Gets the way a monster blocks pathfinding for other objects. |
Definition at line 32 of file npc.hpp.