1
This commit is contained in:
parent
c6c65c0aeb
commit
eddc5a15b8
16
server/gameserver/ai/base/co_find_path.cc
Normal file
16
server/gameserver/ai/base/co_find_path.cc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#include "precompile.h"
|
||||||
|
|
||||||
|
#include "base_agent.h"
|
||||||
|
#include "creature.h"
|
||||||
|
#include "room.h"
|
||||||
|
#include "glmhelper.h"
|
||||||
|
#include "movement.h"
|
||||||
|
|
||||||
|
#include "btcontext.h"
|
||||||
|
#include "btevent.h"
|
||||||
|
#include "btcoroutine.h"
|
||||||
|
|
||||||
|
behaviac::EBTStatus BaseAgent::CoFindPath(float x, float y, float z)
|
||||||
|
{
|
||||||
|
return behaviac::BT_FAILURE;
|
||||||
|
}
|
@ -51,6 +51,7 @@ public:
|
|||||||
behaviac::EBTStatus CoAttackTarget(int target_id);
|
behaviac::EBTStatus CoAttackTarget(int target_id);
|
||||||
behaviac::EBTStatus DoIdle(int min_time, int max_time);
|
behaviac::EBTStatus DoIdle(int min_time, int max_time);
|
||||||
behaviac::EBTStatus DoUseSkill(int skill_id);
|
behaviac::EBTStatus DoUseSkill(int skill_id);
|
||||||
|
behaviac::EBTStatus CoFindPath(float x, float y, float z);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void SetOwner(Creature* owner) { owner_ = owner; };
|
void SetOwner(Creature* owner) { owner_ = owner; };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user