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