diff --git a/ClassicalSharp/TexturePack/TerrainAtlas2D.cs b/ClassicalSharp/TexturePack/TerrainAtlas2D.cs index d5bb777cb..27b7a4c3f 100644 --- a/ClassicalSharp/TexturePack/TerrainAtlas2D.cs +++ b/ClassicalSharp/TexturePack/TerrainAtlas2D.cs @@ -15,22 +15,22 @@ namespace ClassicalSharp { public Bitmap AtlasBitmap; public int TileSize; - Game game; + Game game; public TerrainAtlas2D(Game game) { this.game = game; } /// Updates the underlying atlas bitmap, fields, and texture. public void UpdateState(Bitmap bmp) { AtlasBitmap = bmp; TileSize = bmp.Width / TilesPerRow; - UpdateState(); + UpdateState(); } - /// Updates the underlying atlas bitmap - public void UpdateState() - { - using (FastBitmap fastBmp = new FastBitmap(AtlasBitmap, true, true)) - BlockInfo.RecalculateSpriteBB(fastBmp); - } + /// Updates the underlying atlas bitmap + public void UpdateState() + { + using (FastBitmap fastBmp = new FastBitmap(AtlasBitmap, true, true)) + BlockInfo.RecalculateSpriteBB(fastBmp); + } /// Creates a new texture that contains the tile at the specified index. public int LoadTextureElement(int index) { @@ -51,4 +51,4 @@ namespace ClassicalSharp { AtlasBitmap.Dispose(); } } -} \ No newline at end of file +}