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 --- CollisionContext.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CollisionContext.h') diff --git a/CollisionContext.h b/CollisionContext.h index e35c373..0dd37c0 100644 --- a/CollisionContext.h +++ b/CollisionContext.h @@ -1,4 +1,5 @@ #pragma once + #include #include "CollisionChecker.h" @@ -12,11 +13,16 @@ public: void update(); 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; }; -- cgit v1.2.3