35 lines
414 B
C++
35 lines
414 B
C++
#include "precompile.h"
|
|
|
|
#include "team_agent.h"
|
|
|
|
#include "team.h"
|
|
|
|
TeamAgent::TeamAgent():BaseAgent()
|
|
{
|
|
|
|
}
|
|
|
|
TeamAgent::~TeamAgent()
|
|
{
|
|
}
|
|
|
|
int TeamAgent::GetMemberNum()
|
|
{
|
|
return team_->GetMemberNum();
|
|
}
|
|
|
|
int TeamAgent::GetPlayerNum()
|
|
{
|
|
return team_->GetPlayerNum();
|
|
}
|
|
|
|
int TeamAgent::GetAlivePlayerNum()
|
|
{
|
|
return team_->GetAlivePlayerNum();
|
|
}
|
|
|
|
void TeamAgent::SetTeam(Team* team)
|
|
{
|
|
team_ = team;
|
|
}
|