diff options
Diffstat (limited to 'source/Items/ItemFlowerPot.h')
-rw-r--r-- | source/Items/ItemFlowerPot.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/source/Items/ItemFlowerPot.h b/source/Items/ItemFlowerPot.h new file mode 100644 index 000000000..fe4b3dd61 --- /dev/null +++ b/source/Items/ItemFlowerPot.h @@ -0,0 +1,25 @@ +
+#pragma once
+
+#include "ItemHandler.h"
+
+class cItemFlowerPotHandler : public cItemHandler
+{
+public:
+ cItemFlowerPotHandler(int a_ItemType)
+ : cItemHandler(a_ItemType)
+ {
+
+ }
+
+ virtual bool IsPlaceable() override
+ {
+ return true;
+ }
+
+ virtual BLOCKTYPE GetBlockType() override
+ {
+ return E_BLOCK_FLOWER_POT;
+ }
+
+};
\ No newline at end of file |