Beispiel #1
0
		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;
		}
Beispiel #2
0
		public TerrainTile(int x, int y, Terrain terrain)
			: this(x, y, terrain, null)
		{
			Pathfinder = new Pathfinder(this);
		}
Beispiel #3
0
 public TerrainTile(int x, int y, Terrain terrain)
     : this(x, y, terrain, null)
 {
     Pathfinder = new Pathfinder(this);
 }