Refactoring drawPlayer