Added a platform class.
Structured player and platform variables for refactoring.
Added Player class.
Definierar en Player klass som fungerar som en struktur för olika spelar relaterade data i syfte att minska antalet lösa instansvariabler i InGameState för att senare inkapsla dem till ett användbart gränssnitt.
Flyttar generatePlayer()-koden till Player.createPlayer().
Refactored Player class by using the delegate pattern to get the model and material of the scene object.
Minor changes.
Refectored the platform code.
Tweaking of some code and constants.
Tuning gameplay and platforms.
Made camera work.
Made instance variables private and added getters and setters in Platform.java
Fixed error caused by refering to instance variable instead of local variable in Platform.java and Player.java.
Added lazy initialization and data reuse to PlatformSceneObjectDataSource.java
Merged refactor into master.