Every PhysicalObject should have a primary body, but may have other bodies as well. All the bodies should be added via two helper methods: addPrimaryBody and addSecondaryBody. Upon deletion, the objects should be removed from the scene automatically in the reverse order that they were added.
Every
PhysicalObject
should have a primary body, but may have other bodies as well. All the bodies should be added via two helper methods:addPrimaryBody
andaddSecondaryBody
. Upon deletion, the objects should be removed from the scene automatically in the reverse order that they were added.