1
This commit is contained in:
parent
c41ba7485d
commit
5fe43987bd
27
server/gameserver/team_agent.cc
Normal file
27
server/gameserver/team_agent.cc
Normal file
@ -0,0 +1,27 @@
|
||||
#include "precompile.h"
|
||||
|
||||
#include "team_agent.h"
|
||||
|
||||
TeamAgent::TeamAgent():BaseAgent()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
TeamAgent::~TeamAgent()
|
||||
{
|
||||
}
|
||||
|
||||
int TeamAgent::GetMemberNum()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int TeamAgent::GetPlayerNum()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int TeamAgent::GetAlivePlayerNum()
|
||||
{
|
||||
return 0;
|
||||
}
|
17
server/gameserver/team_agent.h
Normal file
17
server/gameserver/team_agent.h
Normal file
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "new_base_agent.h"
|
||||
|
||||
class TeamAgent : public BaseAgent
|
||||
{
|
||||
public:
|
||||
TeamAgent();
|
||||
|
||||
virtual ~TeamAgent();
|
||||
|
||||
BEHAVIAC_DECLARE_AGENTTYPE(TeamAgent, BaseAgent)
|
||||
|
||||
int GetMemberNum();
|
||||
int GetPlayerNum();
|
||||
int GetAlivePlayerNum();
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user