Engine:
- Added GameCommands namespace for holding all of the game command classes - Added ICommand interface for game commands. - Added IPlayer interface for player classes. - Added CommandLook for prepping the Test Runtime for looking at environments. Misc: - Updated Mud Designer Project Roadmap file (MudDesigner.pod)
This commit is contained in:
parent
7c72fbb2e8
commit
85aae88e34
6 changed files with 91 additions and 3 deletions
17
Mud Designer/MudEngine/Interfaces/ICommand.cs
Normal file
17
Mud Designer/MudEngine/Interfaces/ICommand.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace MudDesigner.MudEngine.Interfaces
|
||||
{
|
||||
public interface IGameCommand
|
||||
{
|
||||
//Name of the command
|
||||
string Name { get; set; }
|
||||
//Used to override commands with the same name
|
||||
bool Override { get; set; }
|
||||
//Executes the command.
|
||||
object Execute(params object[] Parameter);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue