MudEngine:

- All commands are now required to have a Help property.

MudGame:
 - Finished the Create command. Now allows for creating Realms, Zones and Rooms
 - Added LinkRoom command for linking Rooms. Not finished.
 - Added Help command. Typing Help prints all of the currently available commands. Typing Help 'CommandName' prints that Commands help property. Default commands print a help document.
This commit is contained in:
Scionwest_cp 2010-08-19 19:09:45 -07:00
parent f51e17af7b
commit 386d90df19
22 changed files with 678 additions and 114 deletions

View file

@ -16,6 +16,13 @@ namespace MudEngine.Commands
{
public Boolean Override { get; set; }
public String Name { get; set; }
public List<String> Help { get; set; }
public CommandExit()
{
Help = new List<string>();
Help.Add("Exits the game cleanly.");
}
public void Execute(String command, BaseCharacter player)
{