From 3e1b0eb968d90f1ba5163b220c4e39dd7fd1e51b Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 22 Oct 2024 19:55:53 +0200 Subject: finish collision checking implementation --- CycleCollisionMethodCommand.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CycleCollisionMethodCommand.cpp (limited to 'CycleCollisionMethodCommand.cpp') diff --git a/CycleCollisionMethodCommand.cpp b/CycleCollisionMethodCommand.cpp new file mode 100644 index 0000000..cc7b7f0 --- /dev/null +++ b/CycleCollisionMethodCommand.cpp @@ -0,0 +1,9 @@ +#include "CycleCollisionMethodCommand.h" +#include "Museum.h" + +CycleCollisionMethodCommand::CycleCollisionMethodCommand(Museum & m) : museum(m) { } + +void CycleCollisionMethodCommand::execute() { + this->museum.collision.cycle_method(); +} + -- cgit v1.2.3