diff options
Diffstat (limited to '')
-rw-r--r-- | source/blocks/BlockPiston.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blocks/BlockPiston.h b/source/blocks/BlockPiston.h new file mode 100644 index 000000000..69d3a204f --- /dev/null +++ b/source/blocks/BlockPiston.h @@ -0,0 +1,15 @@ +#pragma once
+#include "Block.h"
+
+
+class cBlockPistonHandler : public cBlockHandler
+{
+public:
+ cBlockPistonHandler(BLOCKTYPE a_BlockID);
+ virtual void OnPlaced(cWorld *a_World, int a_X, int a_Y, int a_Z, int a_Dir);
+ virtual void OnDestroyed(cWorld *a_World, int a_X, int a_Y, int a_Z);
+
+
+ virtual void PlaceBlock(cWorld *a_World, cPlayer *a_Player, char a_BlockMeta, int a_X, int a_Y, int a_Z, char a_Dir);
+
+};
\ No newline at end of file |