MudEngine:
- BaseObject Saving and Loading fully implemented. - BaseCharacter Saving and Loading fully implemented. - Game.cs now contains SaveDataPaths property for allowing users to define where their data will be saved. -
This commit is contained in:
parent
7f39821216
commit
4be5a831b1
8 changed files with 137 additions and 125 deletions
|
@ -16,15 +16,5 @@ namespace MudEngine.Scripting
|
|||
{
|
||||
_GameObjects = new List<GameObject>();
|
||||
}
|
||||
|
||||
public void Save(string filename)
|
||||
{
|
||||
FileManager.Save(filename, _GameObjects);
|
||||
}
|
||||
|
||||
public void Load(string filename)
|
||||
{
|
||||
_GameObjects = (List<GameObject>)FileManager.Load(filename, _GameObjects);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue