1
This commit is contained in:
parent
5b36619f6a
commit
906c0a1127
@ -19,6 +19,11 @@ State_e AndroidAgent::GetState()
|
||||
return kPreBattle;
|
||||
}
|
||||
|
||||
bool AndroidAgent::IsGameOver()
|
||||
{
|
||||
return GetOwner()->room->IsGameOver();
|
||||
}
|
||||
|
||||
behaviac::EBTStatus AndroidAgent::DoIdle(int min_time, int max_time)
|
||||
{
|
||||
if (status_ == behaviac::BT_RUNNING) {
|
||||
|
@ -14,6 +14,7 @@ public:
|
||||
BEHAVIAC_DECLARE_AGENTTYPE(AndroidAgent, behaviac::Agent)
|
||||
|
||||
State_e GetState();
|
||||
bool IsGameOver();
|
||||
|
||||
behaviac::EBTStatus DoIdle(int min_time, int max_time);
|
||||
behaviac::EBTStatus DoRandomWalk();
|
||||
|
Loading…
x
Reference in New Issue
Block a user