feat: moved blockclasses into dedicated folder

This commit is contained in:
2026-06-01 15:41:49 +02:00
parent 15be8f6059
commit 645fd00868
11 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
namespace VoxelEngine.World.Blocks;
public class SnowBlock : IBlock
{
public ushort Id => 5;
public string Name => "Snow Block";
public bool IsOpaque => true;
public bool IsSolid => true;
public TileCoord GetTextureTile(BlockFace face) => face switch
{
BlockFace.Top => new TileCoord(2, 0),
BlockFace.Bottom => new TileCoord(0, 0),
_ => new TileCoord(3, 0)
};
}