feat: moved blockclasses into dedicated folder
This commit is contained in:
10
World/Blocks/BlockClasses/SandBlock.cs
Normal file
10
World/Blocks/BlockClasses/SandBlock.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace VoxelEngine.World.Blocks;
|
||||
|
||||
public class SandBlock : IBlock
|
||||
{
|
||||
public ushort Id => 4;
|
||||
public string Name => "Sand";
|
||||
public bool IsOpaque => true;
|
||||
public bool IsSolid => true;
|
||||
public TileCoord GetTextureTile(BlockFace face) => new(2, 1);
|
||||
}
|
||||
Reference in New Issue
Block a user