using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using MudEngine.Game.Characters; using MudEngine.Core.Interface; namespace MudEngine.Core { public abstract class BaseCommand : ICommand { /// /// Gets or Sets a collection of help topics related to this command. /// [Browsable(false)] public List Help { get; set; } public BaseCommand() { Help = new List(); this.Name = this.GetType().Name.Substring("Command".Length); } /// /// Executes the command for the character supplied. /// /// /// public abstract void Execute(string command, StandardCharacter character); public string Name {get;set;} public string Description { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } } }