Commit graph

4 commits

Author SHA1 Message Date
Scionwest_cp
ee3cd897f2 Began work on Environment save code.
Restructured the project save data folder layout when the engine starts.
The XMLData class now creates directories if they are missing.  Individual classes no longer need to check if a path is valid before saving.
Filenames are now automatically generated and no longer assigned by developers.  This change has been made across all classes that are savable which required some changing of the Save() method arguments.
2012-03-10 20:47:12 -08:00
Scionwest_cp
a6d346da3d All of the classes that currently perform Save/Load operations now log when a Property failed to be loaded correctly. 2012-03-10 19:48:41 -08:00
Scionwest_cp
f5cf0c1f6a BaseScript now has a method for reporting failed Script.Load() method invocations. It will log the class name and property field if used correctly.
Some classes have some protection in place now in the event the class attempts to load a property that does not exist in the save file.
CommandSystem instances now use their instanced CommandCollection property instead of the static class property.
2012-03-10 16:08:02 -08:00
Scionwest_cp
43e93706ab Realm class now inherits from the new Environment class.
CharacterRole class created with helper static methods for converting strings to their correct CharacterRoles enum value.
Environment class has save/load support however Realms/Zones/Rooms do not yet.
2012-03-08 18:03:09 -08:00