1
This commit is contained in:
parent
91bed17c6b
commit
a1f0544db3
@ -3,6 +3,8 @@
|
||||
#include "room_agent.h"
|
||||
#include "room.h"
|
||||
|
||||
#include "mt/Map.h"
|
||||
|
||||
RoomAgent::RoomAgent():BaseAgent()
|
||||
{
|
||||
|
||||
@ -14,37 +16,37 @@ RoomAgent::~RoomAgent()
|
||||
|
||||
int RoomAgent::GetMapId()
|
||||
{
|
||||
return 0;
|
||||
return room_->GetMapMeta()->map_id();
|
||||
}
|
||||
|
||||
int RoomAgent::GetHumanNum()
|
||||
{
|
||||
return 0;
|
||||
return room_->GetHumanNum();
|
||||
}
|
||||
|
||||
int RoomAgent::GetAliveHumanNum()
|
||||
{
|
||||
return 0;
|
||||
return room_->AliveCount();
|
||||
}
|
||||
|
||||
int RoomAgent::GetPlayerNum()
|
||||
{
|
||||
return 0;
|
||||
return room_->GetPlayerNum();
|
||||
}
|
||||
|
||||
int RoomAgent::GetAlivePlayerNum()
|
||||
{
|
||||
return 0;
|
||||
return room_->GetAlivePlayerCount();
|
||||
}
|
||||
|
||||
int RoomAgent::GetTeamNum()
|
||||
{
|
||||
return 0;
|
||||
return room_->GetTeamNum();
|
||||
}
|
||||
|
||||
int RoomAgent::GetAliveTeamNum()
|
||||
{
|
||||
return 0;
|
||||
return room_->GetAliveTeamNum();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user