I have almost finished my game but I would like a way to display the high score as well, however I have no idea how to do it and don't know where to start. Any help would be appreciated, thanks.


1 2 3 4 5 6 7 | if (UserInfo.isStorageAvailable()) { UserInfo myInfo = UserInfo.getMyInfo(); if (newScore > myInfo.getScore()) { myInfo.setScore(newScore); myInfo.store(); // write back to server } } |