This commit is contained in:
aozhiwei 2021-03-18 11:23:28 +08:00
parent 49561c4ef3
commit f7a468abe9
3 changed files with 1 additions and 3 deletions

View File

@ -10,7 +10,7 @@ class Creature : public MoveableEntity
public:
HumanAbility ability;
std::function<bool ()> on_move_collision;
bool HasBuffEffect(int buff_effect_id);
Buff* GetBuffByEffectId(int effect_id);

View File

@ -21,7 +21,6 @@ public:
bool shot_hold = false;
int team_id = 0;
a8::Vec2 attack_dir;
std::function<bool ()> on_move_collision;
Hero();
virtual ~Hero() override;

View File

@ -54,7 +54,6 @@ class Human : public Creature
a8::Vec2 attack_dir;
std::function<void ()> on_loading_bullet;
std::function<bool ()> on_move_collision;
std::string name;
std::string avatar_url;