selfmove.h 440 B

1234567891011121314151617
  1. #ifndef SELFMOVE_H
  2. #define SELFMOVE_H
  3. #include "effects\effect.h"
  4. class SelfMove : public Effect {
  5. public:
  6. explicit SelfMove(QString param) : Effect(param) {}
  7. void OperateOnUnitToCell(Unit* who, Cell* where) override;
  8. void OperateOnCell(Cell* cell) override;
  9. void OperateOnUnit(Unit* unit) override;
  10. void Execute(Cell* from, Cell* where, Unit* who, Unit* whom, TypeOfTrigger Type) override;
  11. };
  12. #endif // SELFMOVE_H