melledamage.h 438 B

1234567891011121314151617181920212223
  1. //
  2. // Created by IgorBat on 23.04.2018.
  3. //
  4. #ifndef GAME_CLIENT_MELLEDAMAGE_H
  5. #define GAME_CLIENT_MELLEDAMAGE_H
  6. #pragma once
  7. #include <cassert>
  8. #include "effect\effect.h"
  9. class melledamage : public Effect {
  10. Mage() = delete;
  11. Mage(std::string id);
  12. ~Mage();
  13. bool canAttackForDistance(int distance);
  14. bool canAttackToCell(Cell* destination);
  15. bool canAttackUnit(Unit* target);
  16. };
  17. #endif //GAME_CLIENT_MELLEDAMAGE_H