1
This commit is contained in:
parent
5fe43987bd
commit
b5254883e0
57
server/gameserver/target_agent.cc
Normal file
57
server/gameserver/target_agent.cc
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
#include "precompile.h"
|
||||||
|
|
||||||
|
#include "target_agent.h"
|
||||||
|
|
||||||
|
TargetAgent::TargetAgent():BaseAgent()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
TargetAgent::~TargetAgent()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
int TargetAgent::GetUniId()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
bool TargetAgent::IsValid()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
bool TargetAgent::IsDead()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
const glm::vec3 TargetAgent::GetPos()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
float TargetAgent::GetHp()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
float TargetAgent::GetMaxHp()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int TargetAgent::GetHeroId()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int TargetAgent::GetLevel()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void TargetAgent::Abandon()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
24
server/gameserver/target_agent.h
Normal file
24
server/gameserver/target_agent.h
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "new_base_agent.h"
|
||||||
|
|
||||||
|
class TargetAgent : public BaseAgent
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
TargetAgent();
|
||||||
|
|
||||||
|
virtual ~TargetAgent();
|
||||||
|
|
||||||
|
BEHAVIAC_DECLARE_AGENTTYPE(TargetAgent, BaseAgent)
|
||||||
|
|
||||||
|
int GetUniId();
|
||||||
|
bool IsValid();
|
||||||
|
bool IsDead();
|
||||||
|
const glm::vec3 GetPos();
|
||||||
|
float GetHp();
|
||||||
|
float GetMaxHp();
|
||||||
|
int GetHeroId();
|
||||||
|
int GetLevel();
|
||||||
|
void Abandon();
|
||||||
|
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user