Salbris/Spider-Fish — Issue #30: CollisionManager exposes no update() function to notify of PhysicalEntity changes.
Author: erisco
Created: 2011-10-11 05:07:01+00:00
State: open

CollisionManager exposes no update() function to notify of PhysicalEntity changes.

A reasonable API would be:

```c++
// Notifies all CollisionSpaces via CollisionSpace::update(...)
CollisionManager::update(PhysicalEntity const &entity) const;

// Calls CollisionSpace::updateAll() on the CollisionSpace belonging
// to the specific group number.
CollisionManager::update(unsigned int group) const;

// Calls CollisionSpace::updateAll() on all CollisionSpaces
CollisionManager::updateAll() const;
```