Now, player has a method called getProperties() which returns names of properties that player has.