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