Rybadour / Spider-Fish

A simple Bullet Hell Shooter.
socr.uwindsor.ca/~giga
8 stars 4 forks source link

A PhysicalEntity added to a CollisionManager in a group without a CollisionSpace should be an error. #29

Closed erisco closed 13 years ago

erisco commented 13 years ago

If a PhysicalEntity belonging to group 16 is added to a CollisionManager, but there is no CollisionSpace yet allocated for that group, an assert should be fired.

The original intend was for the CollisionManager to use BruteForceSpace by default, but this neither useful nor compliant with the ownership of CollisionSpaces (that is, CollisionManager doesn't own them).

erisco commented 13 years ago

0f95d317818a89c48e4246ccf90743a530b6cb51 closes this issue.