summaryrefslogtreecommitdiff
path: root/tool.h
diff options
context:
space:
mode:
Diffstat (limited to 'tool.h')
-rw-r--r--tool.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/tool.h b/tool.h
index 5ccda41..e08ecef 100644
--- a/tool.h
+++ b/tool.h
@@ -17,14 +17,13 @@ class Tool {
virtual ~Tool() {};
virtual bool handle_event(SDL_Event& event, Vector3& selected) = 0;
- virtual void render_gui();
+ virtual void gui_show();
+ virtual void gui_hide();
+ virtual void gui_update();
virtual const char* get_name() = 0;
};
class RaiseTool : public Tool {
- protected:
- static std::string name;
-
public:
RaiseTool(Terrain *terrain);
virtual ~RaiseTool();