Refactored code to remove dependency of GameTime inside Sprite entity