MudCompiler: No longer works. Needs to be re-wrote to support the new Alpha 2.0 engine MudDesigenr: Removed most of the forms since we are not working on it. Only form left is Project Manager, which will be removed shortly as well. MudGame: No longer runs. All of the source code was removed due to MudEngine Alpha 2.0 source changing drastically. MudEngine: Alpha 2.0 source code finally checked-in. It contains the full re-build of the engine. A lot of new abstract classes have been added.
53 lines
1.3 KiB
C#
53 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace MudEngine.Core
|
|
{
|
|
public abstract class BaseCommand : ICommand
|
|
{
|
|
/// <summary>
|
|
/// Gets or Sets a collection of help topics related to this command.
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public List<string> Help { get; set; }
|
|
|
|
public BaseCommand()
|
|
{
|
|
Help = new List<string>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Executes the command for the character supplied.
|
|
/// </summary>
|
|
/// <param name="command"></param>
|
|
/// <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 Description
|
|
{
|
|
get
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
set
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|
|
}
|