summaryrefslogtreecommitdiff
path: root/src/game/Tool.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-19 16:49:40 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-19 16:49:40 (GMT)
commit4d961117bde4398ae4d72f2db96eef381371e2df (patch)
treef11f5ceee26f9ab6a4d8de1ba4f9dcf9226701d7 /src/game/Tool.h
parentc2873180e224b93632daf01e40c6e6d0636bf86d (diff)
downloadpowder-4d961117bde4398ae4d72f2db96eef381371e2df.zip
powder-4d961117bde4398ae4d72f2db96eef381371e2df.tar.gz
Special ligh placement
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: