diff options
Diffstat (limited to '')
-rw-r--r-- | source/Blocks/BlockMycelium.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/source/Blocks/BlockMycelium.h b/source/Blocks/BlockMycelium.h new file mode 100644 index 000000000..57b45dfe1 --- /dev/null +++ b/source/Blocks/BlockMycelium.h @@ -0,0 +1,29 @@ +
+#pragma once
+
+#include "BlockHandler.h"
+#include "../MersenneTwister.h"
+#include "../World.h"
+
+
+
+
+
+class cBlockMyceliumHandler :
+ public cBlockHandler
+{
+public:
+ cBlockMyceliumHandler(BLOCKTYPE a_BlockType)
+ : cBlockHandler(a_BlockType)
+ {
+ }
+
+ virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
+ {
+ a_Pickups.push_back(cItem(E_BLOCK_DIRT, 1, 0));
+ }
+} ;
+
+
+
+
|