#pragma once #include #include "CollisionChecker.h" class Museum; class CollisionContext { public: CollisionContext(Museum &); void update(); public: std::shared_ptr get_checker(); void cycle_method(); private: std::shared_ptr checker = nullptr; std::shared_ptr create_checker(); size_t checker_index = 0; private: Museum & museum; };