|
Planeshift
|
Whenever an NPC is close to an item, this perception is passed to the npc. More...
#include <perceptions.h>
Public Member Functions | |
| virtual gemNPCObject * | GetTarget () |
| Some perception has a target/source. | |
| ItemPerception (const char *n, gemNPCObject *i) | |
| virtual Perception * | MakeCopy () |
| Make a copy of this perception. | |
| virtual | ~ItemPerception () |
Protected Attributes | |
| csWeakRef< gemNPCObject > | item |
Whenever an NPC is close to an item, this perception is passed to the npc.
Definition at line 237 of file perceptions.h.
| ItemPerception::ItemPerception | ( | const char * | n, |
| gemNPCObject * | i | ||
| ) | [inline] |
Definition at line 243 of file perceptions.h.
| virtual ItemPerception::~ItemPerception | ( | ) | [inline, virtual] |
Definition at line 245 of file perceptions.h.
| virtual gemNPCObject* ItemPerception::GetTarget | ( | ) | [inline, virtual] |
Some perception has a target/source.
Reimplemented from Perception.
Definition at line 248 of file perceptions.h.
| virtual Perception* ItemPerception::MakeCopy | ( | ) | [virtual] |
csWeakRef<gemNPCObject> ItemPerception::item [protected] |
Definition at line 240 of file perceptions.h.
1.7.3