Exemple #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();
 }
Exemple #2
0
 /// <summary>
 /// Standard Ctor
 /// </summary>
 public GameWorld()
 {
     _board      = new Cell[X, Y];
     _pathFinder = new AStarPathfinder(this);
     InitiateGameBoard();
 }