summaryrefslogtreecommitdiffstats
path: root/source/blocks/BlockVine.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/blocks/BlockVine.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/source/blocks/BlockVine.h b/source/blocks/BlockVine.h
new file mode 100644
index 000000000..d601e622c
--- /dev/null
+++ b/source/blocks/BlockVine.h
@@ -0,0 +1,23 @@
+#pragma once
+#include "Block.h"
+
+
+class cBlockVineHandler : public cBlockHandler
+{
+public:
+ cBlockVineHandler(BLOCKTYPE a_BlockID);
+
+ virtual bool IgnoreBuildCollision()
+ {
+ return true;
+ }
+
+ virtual void PlaceBlock(cWorld *a_World, cPlayer *a_Player, char a_BlockMeta, int a_X, int a_Y, int a_Z, char a_Dir);
+
+
+ virtual bool AllowBlockOnTop()
+ {
+ return false;
+ }
+
+}; \ No newline at end of file