This commit is contained in:
aozhiwei 2021-05-07 13:07:13 +08:00
parent 6dfb5b26ef
commit 1b354f0915
2 changed files with 9 additions and 0 deletions

View File

@ -1563,3 +1563,8 @@ bool Creature::FreezeOperate()
} }
return freeze; return freeze;
} }
void Creature::SlaveOnRemove(Entity* slave)
{
}

View File

@ -27,6 +27,7 @@ struct xtimer_list;
class Skill; class Skill;
class Obstacle; class Obstacle;
class RoomObstacle; class RoomObstacle;
class Hero;
class Creature : public MoveableEntity class Creature : public MoveableEntity
{ {
public: public:
@ -148,6 +149,7 @@ class Creature : public MoveableEntity
void ResetAllSkillCd(); void ResetAllSkillCd();
void UpdateSkill(); void UpdateSkill();
bool FreezeOperate(); bool FreezeOperate();
void SlaveOnRemove(Entity* slave);
private: private:
@ -181,6 +183,8 @@ private:
std::array<float, kHAT_End> buff_attr_rate_ = {}; std::array<float, kHAT_End> buff_attr_rate_ = {};
std::array<Buff*, kBET_End> buff_effect_ = {}; std::array<Buff*, kBET_End> buff_effect_ = {};
std::list<Buff> buff_list_; std::list<Buff> buff_list_;
std::list<Hero*> slave_heros_;
std::list<RoomObstacle*> slave_things_;
a8::Vec2 skill_dir_; a8::Vec2 skill_dir_;
float skill_param1 = 0; float skill_param1 = 0;