aboutsummaryrefslogtreecommitdiff
path: root/CollisionContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'CollisionContext.h')
-rw-r--r--CollisionContext.h11
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;
};