With the message format set up (see doc), this doc looks into how the lists are managed and how the update message is generated.
Since a character creation system is not inplace yet, all characters
will start with a default set of stats, skills, and inventory.
These will be loaded into the lists when the player logs in the first time using the same method in MudMain.loggedIn() as the welcome text decision logic.
As a staert, everyone will be an Investigator level 1 and have generic stats, skills, and inventory. This will fill in the GUI boxes if nothing else.
NOTE: Should use HashMap instead of HashSet collections since access
is by unique ID.
Also use EnumSets to list all items to be stored in the list. (See ch 13 of Core Java I)
After reviewing the books, it looks like HashMap set is the way to go. So the only changes are on the Server side for now.
Almost works..helps to initailize the DataBase..DOH..and init the Player's basic set..WOO HOO
Up and running..try other combo to be sure, then lock away..