Original Post
Hi all,
My question is should the engine be designed to detect collisions or should the entities have a collision detection built in? In other words, should the player class detect whether it hits something as well as the missile class or should the engine check for collision and loop through all of the current instances of the player and missile classes?
My question is should the engine be designed to detect collisions or should the entities have a collision detection built in? In other words, should the player class detect whether it hits something as well as the missile class or should the engine check for collision and loop through all of the current instances of the player and missile classes?