Esempio n. 1
0
 private void UpdatePlayerInfo()
 {
     playerInfo = new PlayerInfo
     {
         PlayerUsername     = playerDataSaver.GetUsername(),
         PlayerPassword     = playerDataSaver.GetPassword(),
         PlayerEmail        = playerDataSaver.GetEmail(),
         PlayerTeamName     = playerDataSaver.GetTeamname(),
         PlayerWaste        = playerDataSaver.GetWasteCollected(),
         PlayerRecycle      = playerDataSaver.GetRecycleCollected(),
         PlayerRubbish      = playerDataSaver.GetRubbishCollected(),
         PlayerCoins        = playerDataSaver.GetCoinsAvailable(),
         PlayerCurrentLevel = playerDataSaver.GetProgressLevel(),
         RubbishInPlace     = rubbishInPlace,
         RubbishInDistrict  = rubbishInDistrict,
         RubbishInRegion    = rubbishInRegion,
         RubbishInCountry   = rubbishInCountry,
         RubbishPlace       = place,
         RubbishDistrict    = district,
         RubbishRegion      = region,
         RubbishCountry     = country
     };
 }