selfheal.h 470 B

1234567891011121314151617181920
  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 "effects\effect.h"
  8. class SelfHeal : public Effect {
  9. public:
  10. SelfHeal() = 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_SELFHEAL_H