Flyttar generatePlayer()-koden till Player.createPlayer().
Refactored Player class by using the delegate pattern to get the model and material of the scene object.