summaryrefslogtreecommitdiffstats
path: root/source/Items/ItemSign.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Items/ItemSign.h')
-rw-r--r--source/Items/ItemSign.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/source/Items/ItemSign.h b/source/Items/ItemSign.h
new file mode 100644
index 000000000..a0c6aaa9c
--- /dev/null
+++ b/source/Items/ItemSign.h
@@ -0,0 +1,26 @@
+
+#pragma once
+
+#include "ItemHandler.h"
+#include "../World.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