Ejemplo n.º 1
0
 function move(BaseUnit $movingUnit, $hexagon)
 {
     if ($movingUnit->unitIsMoving() && $this->moveIsValid($movingUnit, $hexagon)) {
         $this->updateMoveData($movingUnit, $hexagon);
     }
 }