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:
parent
ee3cd897f2
commit
706c770dd7
6 changed files with 133 additions and 15 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue