public TileEntityChunk(ChunkCoords coords) { Coords = coords; TileEntityIDs = new int[TileChunk.Size, TileChunk.Size]; }
public TileChunk(ChunkCoords coords, short[,] baseTiles) { BaseTiles = baseTiles; Coords = coords; }
public static void TriggerPassiveTileChunkRequest(ChunkCoords coords) { Console.WriteLine($"PassiveTileChunkRequest {coords.Cx},{coords.Cy}"); OnPassiveTileChunkRequest?.Invoke(coords); }
public static void TriggerTileChunkGenerated(ChunkCoords coords, TileChunk chunk) { Console.WriteLine($"TileChunkGenerated {coords.Cx},{coords.Cy}"); OnTileChunkGenerated?.Invoke(coords, chunk); }
public static void TriggerTileChunkRemoved(ChunkCoords coords) { Console.WriteLine($"TileChunkRemoved {coords.Cx},{coords.Cy}"); OnTileChunkRemoved?.Invoke(coords); }