meleedamage.h 484 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 "effects\effect.h"
  8. class MeleeDamage : public Effect {
  9. public:
  10. MeleeDamage() = default;
  11. void OperateOnCell(Cell* cell);
  12. void OperateOnUnit(Unit* unit);
  13. void OperateOnUnitToCell(Unit* who, Cell* where);
  14. void Execute(Cell* from, Cell* where, Unit* who, Unit* whom, TypeOfTrigger Type);
  15. };
  16. #endif //GAME_CLIENT_MELEEDAMAGE_H