Argentum Online - Servidor
healer.h
1 #ifndef HEALER_H
2 #define HEALER_H
3 
4 #include "npc.h"
5 #include "player.h"
6 
7 class Healer : public Npc {
8  public:
9  Healer(EntityId entity_id, nlohmann::json npc_info, Map& map);
10  ~Healer();
17  void heal(Player* player);
24  void resuscitate(Player* player);
25 };
26 
27 #endif // HEALER_H
Healer
Definition: healer.h:7
Healer::resuscitate
void resuscitate(Player *player)
Resucita al jugador luego de un breve tiempo, restableciendo la mana y vida de este,...
Definition: healer.cpp:16
Healer::heal
void heal(Player *player)
Restablece la vida del jugador al maximo. En caso de que el jugador este muerto, no hace nada.
Definition: healer.cpp:10
Npc
Definition: npc.h:10
player.h
Map
Definition: map.h:47
Player
Definition: player.h:14