This commit is contained in:
parent
dc9561dc93
commit
c33e2a4acd
5 changed files with 131 additions and 5 deletions
|
@ -11,6 +11,9 @@
|
|||
|
||||
===========================================================================*/
|
||||
|
||||
#ifndef __ENEMY_NCPPATH_H__
|
||||
#define __ENEMY_NCPPATH_H__
|
||||
|
||||
class CNpcWaypoint
|
||||
{
|
||||
public:
|
||||
|
@ -38,9 +41,14 @@ private:
|
|||
NPC_PATH_TYPE pathType;
|
||||
u8 currentWaypoint;
|
||||
u8 waypointCount;
|
||||
bool reversePath;
|
||||
|
||||
public:
|
||||
void initPath();
|
||||
void addWaypoint( DVECTOR newPos );
|
||||
void setPathType( NPC_PATH_TYPE newPathType );
|
||||
bool incPath();
|
||||
};
|
||||
void think( DVECTOR currentPos );
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue