diff options
Diffstat (limited to 'tool.h')
-rw-r--r-- | tool.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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(); |