summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockWorkbench.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Blocks/BlockWorkbench.h')
-rw-r--r--source/Blocks/BlockWorkbench.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/source/Blocks/BlockWorkbench.h b/source/Blocks/BlockWorkbench.h
index c1c004dc5..f6158b979 100644
--- a/source/Blocks/BlockWorkbench.h
+++ b/source/Blocks/BlockWorkbench.h
@@ -1,4 +1,6 @@
+
#pragma once
+
#include "BlockHandler.h"
#include "../UI/Window.h"
#include "../Player.h"
@@ -16,21 +18,26 @@ public:
{
}
- virtual void OnUse(cWorld * a_World, cPlayer *a_Player, int a_BlockX, int a_BlockY, int a_BlockZ) override
+
+ virtual void OnUse(cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ) override
{
cWindow * Window = new cCraftingWindow(a_BlockX, a_BlockY, a_BlockZ);
a_Player->OpenWindow(Window);
}
- virtual bool IsUseable() override
+
+ virtual bool IsUseable(void) override
{
return true;
}
- virtual AString GetStepSound(void) override
+
+ virtual const char * GetStepSound(void) override
{
return "step.wood";
}
-
-
-}; \ No newline at end of file
+} ;
+
+
+
+