Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. private void checkAchievements() {
  2. if (actionResolver.isSignedIn()) {
  3. if (score >= 10)
  4. actionResolver.unlockAchievementGPGS(Configuration.SCORE_10);
  5. if (score >= 25)
  6. actionResolver.unlockAchievementGPGS(Configuration.SCORE_25);
  7. if (score >= 50)
  8. actionResolver.unlockAchievementGPGS(Configuration.SCORE_50);
  9. if (score >= 75)
  10. actionResolver.unlockAchievementGPGS(Configuration.SCORE_75);
  11. if (score >= 100)
  12. actionResolver.unlockAchievementGPGS(Configuration.SCORE_100);
  13.  
  14. actionResolver.unlockAchievementGPGS(Configuration.GAMESPLAYED_100);
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement