1
This commit is contained in:
parent
0764bba1b2
commit
2b021debe3
@ -1,5 +1,7 @@
|
|||||||
#include "precompile.h"
|
#include "precompile.h"
|
||||||
|
|
||||||
|
#include <f8/btmgr.h>
|
||||||
|
|
||||||
#include "room_agent.h"
|
#include "room_agent.h"
|
||||||
#include "room.h"
|
#include "room.h"
|
||||||
|
|
||||||
@ -13,6 +15,11 @@ RoomAgent::~RoomAgent()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void RoomAgent::Exec()
|
||||||
|
{
|
||||||
|
behaviac::EBTStatus status = f8::BtMgr::Instance()->BtExec(this);
|
||||||
|
}
|
||||||
|
|
||||||
int RoomAgent::GetMapId()
|
int RoomAgent::GetMapId()
|
||||||
{
|
{
|
||||||
return room_->GetMapMeta()->map_id();
|
return room_->GetMapMeta()->map_id();
|
||||||
|
@ -13,6 +13,8 @@ public:
|
|||||||
|
|
||||||
BEHAVIAC_DECLARE_AGENTTYPE(RoomAgent, BaseAgent)
|
BEHAVIAC_DECLARE_AGENTTYPE(RoomAgent, BaseAgent)
|
||||||
|
|
||||||
|
void Exec();
|
||||||
|
|
||||||
int GetMapId();
|
int GetMapId();
|
||||||
int GetHumanNum();
|
int GetHumanNum();
|
||||||
int GetAliveHumanNum();
|
int GetAliveHumanNum();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user