home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AI Game Programming Wisdom
/
AIGameProgrammingWisdom.iso
/
SourceCode
/
04 Pathfinding and Movement
/
05 Hancock
/
Goal_GoThroughDoor.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
2001-08-19
|
378 b
|
21 lines
class Goal_GoThroughDoor : public Goal, public GoalStack
{
public:
Goal_GoThroughDoor( AI* pAI, const PathLink *pathlink);
virtual ~Goal_GoThroughDoor();
// Update the goal
virtual void Update( float secs_elapsed );
virtual bool ReplanSubgoals();
protected:
const PathLink *link;
const Door *door;
bool active; //has this goal been active?
};