aboutsummaryrefslogtreecommitdiff
path: root/CyclePathfindingMethodCommand.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 21:14:14 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 21:14:14 +0200
commitda669db4f083194bc78358041c5d9929e103ac9f (patch)
tree3b1b27cac655cb7f852ff4d13233bc278f12ff0f /CyclePathfindingMethodCommand.cpp
parentdabfb8188aab86ea8d8c9794ee8e46f6e22291f4 (diff)
add more todos, shortcut keys and logging
Diffstat (limited to 'CyclePathfindingMethodCommand.cpp')
-rw-r--r--CyclePathfindingMethodCommand.cpp9
1 files changed, 9 insertions, 0 deletions
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();
+}
+