The player and enemies now extend a MovingEntity class that handles
collisions.