1
This commit is contained in:
parent
49561c4ef3
commit
f7a468abe9
@ -10,7 +10,7 @@ class Creature : public MoveableEntity
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
HumanAbility ability;
|
HumanAbility ability;
|
||||||
|
std::function<bool ()> on_move_collision;
|
||||||
|
|
||||||
bool HasBuffEffect(int buff_effect_id);
|
bool HasBuffEffect(int buff_effect_id);
|
||||||
Buff* GetBuffByEffectId(int effect_id);
|
Buff* GetBuffByEffectId(int effect_id);
|
||||||
|
@ -21,7 +21,6 @@ public:
|
|||||||
bool shot_hold = false;
|
bool shot_hold = false;
|
||||||
int team_id = 0;
|
int team_id = 0;
|
||||||
a8::Vec2 attack_dir;
|
a8::Vec2 attack_dir;
|
||||||
std::function<bool ()> on_move_collision;
|
|
||||||
|
|
||||||
Hero();
|
Hero();
|
||||||
virtual ~Hero() override;
|
virtual ~Hero() override;
|
||||||
|
@ -54,7 +54,6 @@ class Human : public Creature
|
|||||||
|
|
||||||
a8::Vec2 attack_dir;
|
a8::Vec2 attack_dir;
|
||||||
std::function<void ()> on_loading_bullet;
|
std::function<void ()> on_loading_bullet;
|
||||||
std::function<bool ()> on_move_collision;
|
|
||||||
|
|
||||||
std::string name;
|
std::string name;
|
||||||
std::string avatar_url;
|
std::string avatar_url;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user