1234567891011121314151617 |
- #include <cassert>
- #include "effects\selfmove.h"
- #include "cell.h"
- #include "units\unit.h"
- #include <string>
- void SelfMove::OperateOnCell(Cell* cell){
- throw std :: string("CAN'T TOUCH THIS");
- }
- void SelfMove::OperateOnUnit(Unit* unit){
- throw std :: string("CAN'T TOUCH THIS");
- }
- void SelfMove::OperateOnUnitAndCell(Unit* unit, Cell* cell){
- unit->setLocation(cell);
- }
|