CharacterStats.ToString() now returns a formatted string with all of the stats.

StandardGame and it's Child Classes display the name of the game when ToString() is invoked.
Realm and Zone save/load code is completed.
This commit is contained in:
Scionwest_cp 2012-03-11 13:25:32 -07:00
parent ee3cd897f2
commit 706c770dd7
6 changed files with 133 additions and 15 deletions

View file

@ -272,5 +272,10 @@ namespace MudEngine.Game
if (!Directory.Exists(this.SavePaths.GetPath(DataTypes.Scripts)))
Directory.CreateDirectory(this.SavePaths.GetPath(DataTypes.Scripts));
}
public override string ToString()
{
return "Game: " + this.Name + " " + this.Version;
}
}
}