From da669db4f083194bc78358041c5d9929e103ac9f Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 24 Oct 2024 21:14:14 +0200 Subject: add more todos, shortcut keys and logging --- CyclePathfindingMethodCommand.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CyclePathfindingMethodCommand.cpp (limited to 'CyclePathfindingMethodCommand.cpp') diff --git a/CyclePathfindingMethodCommand.cpp b/CyclePathfindingMethodCommand.cpp new file mode 100644 index 0000000..562a1ab --- /dev/null +++ b/CyclePathfindingMethodCommand.cpp @@ -0,0 +1,9 @@ +#include "CyclePathfindingMethodCommand.h" +#include "Museum.h" + +CyclePathfindingMethodCommand::CyclePathfindingMethodCommand(Museum & m) : museum(m) { } + +void CyclePathfindingMethodCommand::execute() { + this->museum.pathfinding.cycle_solver(); +} + -- cgit v1.2.3