posted 10 years ago
Hi!
I'm working on a save system for my game, and everything is fine. However, I need to save some variables to a properties file, which are integers. However setProperty does not allow saving integers. I am asking how to write the int into the file without modifying it too much. Is this possible? I tried casting, but that does not seem to work. I think I need to parse the variables in some way, but I am clueless on how to do that.
Here is my code:
Thanks!