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