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