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.
32 lines
808 B
C#
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);
|
|
}
|
|
}
|