- 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.
27 lines
556 B
C#
27 lines
556 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace MudDesigner.MudEngine.Interfaces
|
|
{
|
|
public interface IGameObject
|
|
{
|
|
string Name { get; set; }
|
|
|
|
string Description { get; set; }
|
|
|
|
string Script { get; set; }
|
|
|
|
string Filename { get; }
|
|
|
|
void OnCreate();
|
|
void OnDestroy();
|
|
void OnEnter();
|
|
void OnExit();
|
|
void OnEquip();
|
|
void OnUnequip();
|
|
void OnMount();
|
|
void OnDismount();
|
|
}
|
|
}
|