feat: New Textures for ores
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 12 KiB |
@@ -145,14 +145,6 @@ public sealed class Game : GameWindow
|
||||
renderer.Draw();
|
||||
});
|
||||
|
||||
this._logAccumSeconds += args.Time;
|
||||
if (this._logAccumSeconds >= 1.0)
|
||||
{
|
||||
this._logAccumSeconds = 0;
|
||||
Log.Information("Rendered {Drawn} / {Renderers} chunks ({Tracked} loaded)",
|
||||
drawn, this._streamer.RendererCount, this._streamer.TrackedCount);
|
||||
}
|
||||
|
||||
this.SwapBuffers();
|
||||
}
|
||||
|
||||
|
||||
@@ -6,5 +6,5 @@ public sealed class CoalOreBlock : IBlock
|
||||
public string Name => "Coal Ore";
|
||||
public bool IsOpaque => true;
|
||||
public bool IsSolid => true;
|
||||
public TileCoord GetTextureTile(BlockFace face) => new(0, 0); // TODO: Add Texture
|
||||
public TileCoord GetTextureTile(BlockFace face) => new(2, 2); // TODO: Add Texture
|
||||
}
|
||||
|
||||
@@ -6,5 +6,5 @@ public sealed class DiamondOreBlock : IBlock
|
||||
public string Name => "Diamond Ore";
|
||||
public bool IsOpaque => true;
|
||||
public bool IsSolid => true;
|
||||
public TileCoord GetTextureTile(BlockFace face) => new(0, 0); // TODO: Add Texture
|
||||
public TileCoord GetTextureTile(BlockFace face) => new(0, 2); // TODO: Add Texture
|
||||
}
|
||||
|
||||
@@ -6,5 +6,5 @@ public sealed class GoldOreBlock : IBlock
|
||||
public string Name => "Gold Ore";
|
||||
public bool IsOpaque => true;
|
||||
public bool IsSolid => true;
|
||||
public TileCoord GetTextureTile(BlockFace face) => new(0, 0); // TODO: Add Texture
|
||||
public TileCoord GetTextureTile(BlockFace face) => new(3, 2); // TODO: Add Texture
|
||||
}
|
||||
|
||||
@@ -6,5 +6,5 @@ public sealed class IronOreBlock : IBlock
|
||||
public string Name => "Iron Ore";
|
||||
public bool IsOpaque => true;
|
||||
public bool IsSolid => true;
|
||||
public TileCoord GetTextureTile(BlockFace face) => new(0, 0); // TODO: Add Texture
|
||||
public TileCoord GetTextureTile(BlockFace face) => new(1, 2); // TODO: Add Texture
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user