diff options
Diffstat (limited to 'source/blocks/BlockWorkbench.h')
-rw-r--r-- | source/blocks/BlockWorkbench.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source/blocks/BlockWorkbench.h b/source/blocks/BlockWorkbench.h new file mode 100644 index 000000000..2a0936c08 --- /dev/null +++ b/source/blocks/BlockWorkbench.h @@ -0,0 +1,19 @@ +#pragma once
+#include "Block.h"
+
+
+class cBlockWorkbenchHandler : public cBlockHandler
+{
+public:
+ cBlockWorkbenchHandler(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 OnClick(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z);
+ virtual bool IsUseable()
+ {
+ return true;
+ }
+
+
+};
\ No newline at end of file |