summaryrefslogtreecommitdiffstats
path: root/source/items/ItemSign.h
diff options
context:
space:
mode:
authorlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-23 22:41:48 +0200
committerlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-23 22:41:48 +0200
commita39adadd0fb59fa9ac609c260fa935de5098a405 (patch)
tree7f7dadb5473f6fa2a3c6c6c679b5010f791b17d7 /source/items/ItemSign.h
parentFixed WebAdmin showing tab names (thanks for pointing it out Lapayo) (diff)
downloadcuberite-a39adadd0fb59fa9ac609c260fa935de5098a405.tar
cuberite-a39adadd0fb59fa9ac609c260fa935de5098a405.tar.gz
cuberite-a39adadd0fb59fa9ac609c260fa935de5098a405.tar.bz2
cuberite-a39adadd0fb59fa9ac609c260fa935de5098a405.tar.lz
cuberite-a39adadd0fb59fa9ac609c260fa935de5098a405.tar.xz
cuberite-a39adadd0fb59fa9ac609c260fa935de5098a405.tar.zst
cuberite-a39adadd0fb59fa9ac609c260fa935de5098a405.zip
Diffstat (limited to '')
-rw-r--r--source/items/ItemSign.h25
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