#pragma once #include #include "CollisionChecker.h" class Museum; class CollisionContext { public: CollisionContext(Museum &); 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; };