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

@ -12,6 +12,13 @@ namespace MudEngine.Commands
public String Name { get; set; }
public Boolean Override { get; set; }
public List<String> Help { get; set; }
public CommandGetTime()
{
Help = new List<string>();
Help.Add("Gives you the current time and date in the game world.");
}
public void Execute(String command, BaseCharacter player)
{