meleedamagespell.h 442 B

12345678910111213141516171819
  1. //
  2. // Created by IgorBat on 23.04.2018.
  3. //
  4. #ifndef GAME_CLIENT_MELEEDAMAGE_H
  5. #define GAME_CLIENT_MELEEDAMAGE_H
  6. #include <cassert>
  7. #include "spells\spell.h"
  8. class MeleeDamageSpell : public Spell {
  9. public:
  10. MeleeDamageSpell(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_MELEEDAMAGE_H