Пример #1
0
 public Robot()
 {
     CurrentPosition = new Position { Direction = Direction.None, X = -1, Y = -1 };
 }
Пример #2
0
 public void ExecutePlace(Position newPos, Grid grid)
 {
     grid.Robot.CurrentPosition = newPos;
 }