Report as inappropriate.
It's nothing fancy, and I haven't added any documentation yet, but they're some classes that support storing 1-byte values using the string at index 0.
The classes for this are UserState and OtherUserState.
All the other classes are used as a demonstration.
How the demonstration works: You clicked on the colored buttons to change their color. Click the store button to store those colors under your username. To see the colors someone stored, press the get button and type in their username. It doesn't support letting you look at everyone whose used the scenario, but if someone hasn't used it and you get their colors, it will tell you that the user cannot be found.
How the storing code works:
The idea behind using the strings instead of the 10 integers is that if you're already using the integers for something else, so long as you have one free String, you can store up to 50 different 1-byte value. A 1-byte value is like an integer, but must be between -128 and 127. I may plan on expanding this and adding documentation, but as it is, it's probably only going to be used in one of my upcoming projects.
If you're interested in using the classes, you can download the source and look how I do it and you can ask questions below.
NOTE:
Sorry, but you must be logged in to use this scenario.
Want to leave a comment? You must first log in.
2013/12/30
2013/12/30
2013/12/30
2013/12/30
2013/12/30
2013/12/30
2013/12/30
2013/12/30