- Renamed FileSystem.FileSystem.cs to FileSystem.FileManager.cs

- Moved ValidateDataPaths() from Engine.cs to FileManager.cs
 - Moved GetDataPath() from Engine.cs to FileManager.cs
 - Moved SaveDataTypes out from Engine.cs into it's own file. MudEngine.FileSystem.SaveDataTypes.cs
 - Moved _CurrentRoom, _CurrentZone, _CurrentRealm and _ScriptEngine out from all editors containing those Fields, and placed them as static properties within Program.cs Room, Zone, Realm and ScriptEngine Properties
 - Created 3 new Interfaces. IGameObject, IQuest and IRuleSet.
 - Created QuestSetup class to begin working on Quest Editor at some point.
This commit is contained in:
Scionwest_cp 2009-12-02 18:57:03 -08:00
parent c1d60639f5
commit 379c6f844d
17 changed files with 327 additions and 239 deletions

View file

@ -5,10 +5,11 @@ using System.Text;
using System.ComponentModel;
using System.Windows.Forms;
using System.Xml.Serialization;
using MudDesigner.MudEngine.Interfaces;
namespace MudDesigner.MudEngine.Objects
{
public class BaseObject
public class BaseObject : IGameObject
{
[Category("Object Setup")]
[RefreshProperties(RefreshProperties.All)] //Required to refresh Filename property in the editors propertygrid
@ -107,5 +108,21 @@ namespace MudDesigner.MudEngine.Objects
public virtual void OnDestroy()
{
}
public virtual void OnEquip()
{
}
public virtual void OnUnequip()
{
}
public virtual void OnMount()
{
}
public virtual void OnDismount()
{
}
}
}