public TerrainTile(int x, int y, Terrain terrain, Pathfinder pathfinder) { // MapChunks = new TerrainChunk[TerrainConstants.ChunksPerTileSide, TerrainConstants.ChunksPerTileSide]; TileX = x; TileY = y; Terrain = terrain; Pathfinder = pathfinder; }
public TerrainTile(int x, int y, Terrain terrain) : this(x, y, terrain, null) { Pathfinder = new Pathfinder(this); }