Moves common rotation functionality for game objects into static utility class