muddesigner/MudEngine/Core/BaseCommand.cs
Scionwest_cp c432edbef9 Deleted Networking folder.
Deleted ParseProperty Attribute.  A different approach will be used for dynamic Type saving.
Removed BaseObject.NewSave().  The re-write on save code will be done at a later date.
2011-09-27 18:47:02 -07:00

32 lines
808 B
C#

using System;
using System.Collections.Generic;
using MudEngine.GameManagement;
using MudEngine.GameObjects.Characters;
using MudEngine.GameObjects.Environment;
namespace MudEngine.Commands
{
public abstract class BaseCommand : IGameCommand
{
public Boolean Override { get; set; }
public String Name { get; set; }
//public String Name { get; set; }
public List<String> Help { get; set; }
protected Realm realm;
protected Zone zone;
protected Room room;
protected BaseCharacter player;
protected Boolean isEditing;
public BaseCommand()
{
Help = new List<string>();
}
public abstract void Execute(String command, BaseCharacter player);
}
}