1
This commit is contained in:
parent
6dfb5b26ef
commit
1b354f0915
@ -1563,3 +1563,8 @@ bool Creature::FreezeOperate()
|
||||
}
|
||||
return freeze;
|
||||
}
|
||||
|
||||
void Creature::SlaveOnRemove(Entity* slave)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -27,6 +27,7 @@ struct xtimer_list;
|
||||
class Skill;
|
||||
class Obstacle;
|
||||
class RoomObstacle;
|
||||
class Hero;
|
||||
class Creature : public MoveableEntity
|
||||
{
|
||||
public:
|
||||
@ -148,6 +149,7 @@ class Creature : public MoveableEntity
|
||||
void ResetAllSkillCd();
|
||||
void UpdateSkill();
|
||||
bool FreezeOperate();
|
||||
void SlaveOnRemove(Entity* slave);
|
||||
|
||||
private:
|
||||
|
||||
@ -181,6 +183,8 @@ private:
|
||||
std::array<float, kHAT_End> buff_attr_rate_ = {};
|
||||
std::array<Buff*, kBET_End> buff_effect_ = {};
|
||||
std::list<Buff> buff_list_;
|
||||
std::list<Hero*> slave_heros_;
|
||||
std::list<RoomObstacle*> slave_things_;
|
||||
|
||||
a8::Vec2 skill_dir_;
|
||||
float skill_param1 = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user