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.
This commit is contained in:
parent
a6d346da3d
commit
ee3cd897f2
12 changed files with 101 additions and 28 deletions
|
@ -73,9 +73,9 @@
|
|||
<None Include="GameScripts\BaseCommands\SetRole.cs">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="GameScripts\SampleGame.cs">
|
||||
<Compile Include="GameScripts\SampleGame.cs">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</Compile>
|
||||
<Compile Include="Game\Characters\CharacterRoles.cs" />
|
||||
<Compile Include="Game\Characters\CharacterStats.cs" />
|
||||
<Compile Include="Game\Characters\StandardCharacter.cs" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue