Argentum Online - Servidor
special_ability.h
1 #ifndef SPECIAL_ABILITY_H
2 #define SPECIAL_ABILITY_H
3 
4 #include <vector>
5 
6 #include "../entities/components/player_combat_component.h"
7 #include "../entities/entity.h"
8 #include "../entities/player.h"
9 #include "../map_log_factory.h"
10 
12  protected:
13  uint32_t ability_id;
14 
15  public:
16  SpecialAbility(uint32_t ability_id);
17  virtual ~SpecialAbility();
18 
19  virtual std::vector<map_log_t> execute(Player* thrower, Entity* target,
20  position_t source,
21  position_t dest) const = 0;
22 };
23 
24 #endif // SPECIAL_ABILITY_H
SpecialAbility
Definition: special_ability.h:11
Entity
Definition: entity.h:15
Player
Definition: player.h:14
position
Definition: position.h:8