Пример #1
0
 public void SetCurrentPosition(int x, int y)
 {
     CurrentPosition = new SurfaceCordinate(x, y);
 }
Пример #2
0
 public void SetLastValidPosition(int x, int y)
 {
     LastValidPosition = new SurfaceCordinate(x, y);
 }
Пример #3
0
 public Map()
 {
     CurrentPosition   = new SurfaceCordinate(0, 0);
     LastValidPosition = new SurfaceCordinate(0, 0);
     Direction         = new Direction();
 }