Renamed StoneSlabBlock to SlabBlock

This commit is contained in:
William Moorehouse 2015-06-21 19:52:47 -04:00
parent 1c340d25f7
commit 9e61bb9a98
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ using TrueCraft.API;
namespace TrueCraft.Core.Logic.Blocks namespace TrueCraft.Core.Logic.Blocks
{ {
public class StoneSlabBlock : BlockProvider public class SlabBlock : BlockProvider
{ {
public enum SlabMaterial public enum SlabMaterial
{ {
@ -120,9 +120,9 @@ namespace TrueCraft.Core.Logic.Blocks
} }
} }
public class DoubleStoneSlabBlock : BlockProvider public class DoubleSlabBlock : SlabBlock
{ {
public static readonly byte BlockID = 0x2B; public static readonly new byte BlockID = 0x2B;
public override byte ID { get { return 0x2B; } } public override byte ID { get { return 0x2B; } }

View File

@ -298,7 +298,7 @@
<Compile Include="Logic\Blocks\LapisLazuliBlock.cs" /> <Compile Include="Logic\Blocks\LapisLazuliBlock.cs" />
<Compile Include="Logic\Blocks\LockedChestBlock.cs" /> <Compile Include="Logic\Blocks\LockedChestBlock.cs" />
<Compile Include="Logic\Blocks\TallGrassBlock.cs" /> <Compile Include="Logic\Blocks\TallGrassBlock.cs" />
<Compile Include="Logic\Blocks\StoneSlabBlock.cs" /> <Compile Include="Logic\Blocks\SlabBlock.cs" />
<Compile Include="MathHelper.cs" /> <Compile Include="MathHelper.cs" />
<Compile Include="Logging\PacketLogging.cs" /> <Compile Include="Logging\PacketLogging.cs" />
<Compile Include="Logging\FileLogProvider.cs" /> <Compile Include="Logging\FileLogProvider.cs" />