diff options
Diffstat (limited to 'source/Blocks/BlockWood.h')
-rw-r--r-- | source/Blocks/BlockWood.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source/Blocks/BlockWood.h b/source/Blocks/BlockWood.h new file mode 100644 index 000000000..d71d5d71c --- /dev/null +++ b/source/Blocks/BlockWood.h @@ -0,0 +1,22 @@ +#pragma once
+#include "BlockHandler.h"
+
+
+class cBlockWoodHandler : public cBlockHandler
+{
+public:
+ cBlockWoodHandler(BLOCKTYPE a_BlockID)
+ : cBlockHandler(a_BlockID)
+ {
+ }
+ NIBBLETYPE GetDropMeta(NIBBLETYPE a_BlockMeta) override
+ {
+ return a_BlockMeta;
+ }
+
+ virtual AString GetStepSound(void) override
+ {
+ return "step.wood";
+ }
+
+};
|