diff options
Diffstat (limited to 'src/game/Tool.cpp')
| -rw-r--r-- | src/game/Tool.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/Tool.cpp b/src/game/Tool.cpp index 3525876..43c2800 100644 --- a/src/game/Tool.cpp +++ b/src/game/Tool.cpp @@ -151,4 +151,9 @@ void Element_LIGH_Tool::Draw(Simulation * sim, Brush * brush, ui::Point position sim->parts[p].life = 55; sim->parts[p].temp = sim->parts[p].life*150; // temperature of the lighting shows the power of the lighting } +} + +void PlopTool::Click(Simulation * sim, Brush * brush, ui::Point position) +{ + sim->create_part(-1, position.X, position.Y, toolID); }
\ No newline at end of file |
