summaryrefslogtreecommitdiff
path: root/src/simulation/tools/SimTool.h
diff options
context:
space:
mode:
authorStanislaw Skowronek <skylark@disorder.sko>2013-11-13 13:54:46 (GMT)
committer Stanislaw Skowronek <skylark@disorder.sko>2013-11-13 13:54:46 (GMT)
commit54769d13eb1b4216b7c6d18e08c3797bf3a48e8a (patch)
treeb9044f60fc982a75e00eda291be1aa3baaca1656 /src/simulation/tools/SimTool.h
parentf32929128e1d93517f24253ed58801acc32ce814 (diff)
downloadpowder-54769d13eb1b4216b7c6d18e08c3797bf3a48e8a.zip
powder-54769d13eb1b4216b7c6d18e08c3797bf3a48e8a.tar.gz
Initial check-in of movable solids. Save/Load/Undo do not work and may crash.
Diffstat (limited to 'src/simulation/tools/SimTool.h')
-rw-r--r--src/simulation/tools/SimTool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simulation/tools/SimTool.h b/src/simulation/tools/SimTool.h
index c5a5cb1..17db8f0 100644
--- a/src/simulation/tools/SimTool.h
+++ b/src/simulation/tools/SimTool.h
@@ -18,6 +18,8 @@ public:
SimTool();
virtual ~SimTool() {}
virtual int Perform(Simulation * sim, Particle * cpart, int x, int y, float strength) { return 0; }
+ virtual int Start(Simulation * sim, Particle * cpart, int x, int y) { return 0; }
+ virtual int Click(Simulation * sim, Particle * cpart, int x, int y) { return 0; }
};
#endif