Mud Designer:
Removed old forms and prepared for new designer layouts MudEngine: Server - Now starts and runs, however sending information to the client crashes telnet clients for some reason. BaseCharacter - Removed OnConnect() source code and changed method into an abstract method. This is now implemented via MudGame.MudCharacter BaseCommand - BaseCommand.Name now implemented. Constructor defaults to the Type name. Note all command names must begin with 'Command' BaseGame - Now has a Server propety BaseServer - Added IsRunning property ICharacter - Added Send() method ICommunicate - Added Shutdown() method for use with servers. CommandSystem - Bug fix. Was checking to see if the command was an Interface rather than checking if it inherits from one. CommandSystem - Bug fix. No longer attempts to add abstract commands to collection ScriptSystem - Bug fix. Corrected the name of the Mud Compiler during compiler loading. MudGame: Added initial MudCharacter class. Will be the standard class that all characters will inherit from. Added CommandLogin for processing user server logins. MudGame - Now calls Server.Initialize during Game.Initialize() MudGame - Uses Server.IsRunning property checks rather than Server.EnableServer MudGame - Added initial code for player connections.
This commit is contained in:
parent
0986d240bf
commit
3bd493c1cd
24 changed files with 316 additions and 436 deletions
|
@ -13,12 +13,13 @@ namespace MudEngine.Core
|
|||
/// </summary>
|
||||
[Browsable(false)]
|
||||
public List<string> Help { get; set; }
|
||||
|
||||
|
||||
public BaseCommand()
|
||||
{
|
||||
Help = new List<string>();
|
||||
this.Name = this.GetType().Name.Substring("Command".Length);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Executes the command for the character supplied.
|
||||
/// </summary>
|
||||
|
@ -26,17 +27,7 @@ namespace MudEngine.Core
|
|||
/// <param name="character"></param>
|
||||
public abstract void Execute(string command, ICharacter character);
|
||||
|
||||
public string Name
|
||||
{
|
||||
get
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
set
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
public string Name {get;set;}
|
||||
|
||||
public string Description
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue