Esempio n. 1
0
 /// <summary>
 /// Custom Size Ctor
 /// </summary>
 public GameWorld(int x, int y)
 {
     X           = x; y = Y;
     _board      = new Cell[X, Y];
     _pathFinder = new AStarPathfinder(this);
     InitiateGameBoard();
 }
Esempio n. 2
0
 /// <summary>
 /// Standard Ctor
 /// </summary>
 public GameWorld()
 {
     _board      = new Cell[X, Y];
     _pathFinder = new AStarPathfinder(this);
     InitiateGameBoard();
 }