diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-25 14:34:40 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-25 14:34:40 +0200 |
commit | c9f5ac8722190efeb58fda1eec9e6160d5204127 (patch) | |
tree | da9015f230d96d7abf30060de5099664c2189809 /CollisionContext.h | |
parent | 8cf389aaf748c77aecda0b3a3773c45053b0f231 (diff) |
update class-diag.puml
Diffstat (limited to 'CollisionContext.h')
-rw-r--r-- | CollisionContext.h | 11 |
1 files changed, 4 insertions, 7 deletions
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<CollisionChecker> get_checker(); void cycle_method(); - -private: - Museum & museum; - private: std::shared_ptr<CollisionChecker> checker = nullptr; - -private: std::shared_ptr<CollisionChecker> create_checker(); size_t checker_index = 0; + +private: + Museum & museum; }; |