fixed the types of some methodes in Player.java