void Update() { //PRIKAZUJE SE BROJ COINA //mozda ovo ne treba da bude u update-u nego da se poziva updateTreasureLabels nakon kupovine foreach (UILabel l in coinLabels) { l.text = Crypting.DecryptInt(coinsCount).ToString(); } }
public string ToString() { string print = "Uid: " + uid + "; " + "Name: " + name + "; " + "Email: " + email + "; " + "Fbid: " + fbid + "; " + "Gender: " + gender + "; " + "Ads: " + ads + "; " + "Sound: " + sound + "; " + "TimesPlayed: " + timesPlayed + "; " + "Best scores: "; for (int i = 0; i < bestScoreNames.Count; i++) { print += bestScoreNames[i] + ": " + Crypting.DecryptInt(bestScoreValues[i]) + ";"; } return(print); }
public int GetCoins() { return(Crypting.DecryptInt(coinsCount)); }
public void LivesMinus(int amount) { lives = Crypting.EncryptInt(Crypting.DecryptInt(lives) - amount); App.local.PlayerSave(); }
public void LivesPlus(int amount) { lives = Crypting.EncryptInt(Crypting.DecryptInt(lives) + amount); }
public int GetLives() { return(Crypting.DecryptInt(lives)); }