Example #1
0
 public Robot()
 {
     CurrentPosition = new Position { Direction = Direction.None, X = -1, Y = -1 };
 }
 public void ExecutePlace(Position newPos, Grid grid)
 {
     grid.Robot.CurrentPosition = newPos;
 }