Moved rotation functionalities from class Entity to subclass Tank.

This makes more sense because not all projectiles will need to rotate, and Projectile is a subclass of Entity. On the other hand, all objects of class Tank need to be able to rotate.