selfhealspell.h 426 B

123456789101112131415161718
  1. //
  2. // Created by IgorBat on 23.04.2018.
  3. //
  4. #ifndef GAME_CLIENT_SELFHEAL_H
  5. #define GAME_CLIENT_SELFHEAL_H
  6. #include <cassert>
  7. #include "spells\spell.h"
  8. class SelfHealSpell : public Spell {
  9. public:
  10. SelfHealSpell(QString param) : Spell(param) {}
  11. void CastSpell(Cell* from, Cell* where, Unit* who, Unit* whom) override;
  12. bool canCastToCell(Cell* destination, Cell* from) override;
  13. };
  14. #endif //GAME_CLIENT_SELFHEAL_H