From c9f5ac8722190efeb58fda1eec9e6160d5204127 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 25 Oct 2024 14:34:40 +0200 Subject: update class-diag.puml --- CollisionContext.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'CollisionContext.h') diff --git a/CollisionContext.h b/CollisionContext.h index 0dd37c0..49397f0 100644 --- a/CollisionContext.h +++ b/CollisionContext.h @@ -9,20 +9,17 @@ class Museum; class CollisionContext { public: CollisionContext(Museum &); - void update(); +public: std::shared_ptr get_checker(); void cycle_method(); - -private: - Museum & museum; - private: std::shared_ptr checker = nullptr; - -private: std::shared_ptr create_checker(); size_t checker_index = 0; + +private: + Museum & museum; }; -- cgit v1.2.3