selfmovespell.cpp 248 B

12345678910
  1. #include <cassert>
  2. #include "spells/selfmovespell.h"
  3. #include "units/unit.h"
  4. #include "cell.h"
  5. #include <string>
  6. void SelfMoveSpell::CastSpell(Cell* from, Cell* where, Unit* who, Unit* whom){
  7. effects_[0] -> OperateOnUnitToCell(who, where);
  8. }