summaryrefslogtreecommitdiff
path: root/src/game/Tool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Tool.h')
-rw-r--r--src/game/Tool.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/game/Tool.h b/src/game/Tool.h
index 4172772..2cc33be 100644
--- a/src/game/Tool.h
+++ b/src/game/Tool.h
@@ -66,6 +66,21 @@ public:
virtual void DrawFill(Simulation * sim, Brush * brush, ui::Point position) { }
};
+class Element_LIGH_Tool: public Tool
+{
+public:
+ Element_LIGH_Tool(int id, string name, string description, int r, int g, int b):
+ Tool(id, name, description, r, g, b)
+ {
+ }
+ virtual ~Element_LIGH_Tool() {}
+ virtual void Draw(Simulation * sim, Brush * brush, ui::Point position);
+ virtual void Click(Simulation * sim, Brush * brush, ui::Point position) { }
+ virtual void DrawLine(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2) { }
+ virtual void DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2) { }
+ virtual void DrawFill(Simulation * sim, Brush * brush, ui::Point position) { }
+};
+
class ElementTool: public Tool
{
public: