diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-21 15:37:31 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-21 15:37:31 +0200 |
commit | e8601b35b601b0ee1486dfaa12385e71b7f2b300 (patch) | |
tree | 244fc97a12ee17e28e6fc407988508bfbc06d89a /Museum.cpp | |
parent | fe8f7273f0efdfe319a0d3e3b2fc2847992745af (diff) |
WIP quadtree visualization scaffolding
Diffstat (limited to 'Museum.cpp')
-rw-r--r-- | Museum.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,7 +2,7 @@ using namespace std; -Museum::Museum() : people(*this), canvas(*this) { +Museum::Museum() : people(*this), canvas(*this), collision(*this) { this->worker = new std::thread(&Museum::work, this); } @@ -18,6 +18,7 @@ Museum::~Museum() { void Museum::update() { this->people.update(); this->canvas.update(); + this->collision.update(); this->tick++; } |