Hey @danpost :)
I am working on a game like clicker hereos and want to safe the playerdata so that a player doesn't loose his progress. I read some posts about the UserInfo class and wanted to use it but i am not sure how to import the class or even use it. When istry things like:
It doesnt know the methodes and variables. I simply need to safe a few things like attackDMG, idleDMG, Mob progress, gold, upgrade progress. Could you pls explain me how to use UserInfo. (pls like i am stupid... maybe i am... sad life :x)
public Speicher() { if(UserInfo.isStorageAvailable()){ if (UserInfo.getMyInfo() != null){ player = UserInfo.getMyInfo(); } } }