1 #include "MicroCellPosition.hpp" 6 case Right:
return {this->x + 1, this->y};
7 case Up:
return {this->x, this->y - 1};
8 case Left:
return {this->x - 1, this->y};
9 case Down:
return {this->x, this->y + 1};
11 throw std::out_of_range(
"direction");
15 return *
this = *
this + direction;