game2006/server/gameserver/android_agent.h
aozhiwei e5f590b9d1 1
2023-04-07 18:46:20 +08:00

28 lines
493 B
C++

#pragma once
#include "base_agent.h"
class Android;
class AndroidAgent : public BaseAgent
{
public:
AndroidAgent();
virtual ~AndroidAgent();
BEHAVIAC_DECLARE_AGENTTYPE(AndroidAgent, BaseAgent)
State_e GetState();
behaviac::EBTStatus DoRandomWalk();
behaviac::EBTStatus DoRandomShot();
behaviac::EBTStatus DoAttack();
behaviac::EBTStatus DoPursuit();
private:
glm::vec3& AdjustShotDir(glm::vec3& shot_dir);
private:
Android* owner_ = nullptr;
};