Added javadoc to player.java