All components that need to do something every frame (move to position, check for collision, etc) should have these methods in a predefined function that fulfills the component protocol instead of having the activity class do separate checks for each component type.
All components that need to do something every frame (move to position, check for collision, etc) should have these methods in a predefined function that fulfills the component protocol instead of having the activity class do separate checks for each component type.