Moved GameManagement files into a Game directory.
This commit is contained in:
parent
eff71f38cd
commit
c4345675d4
8 changed files with 10 additions and 8 deletions
28
MudEngine/Game/ICommand.cs
Normal file
28
MudEngine/Game/ICommand.cs
Normal file
|
@ -0,0 +1,28 @@
|
|||
//Microsoft .NET Framework
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
//MUD Engine
|
||||
using MudEngine.Commands;
|
||||
using MudEngine.GameObjects.Characters;
|
||||
using MudEngine.GameManagement;
|
||||
using MudEngine.GameObjects.Environment;
|
||||
|
||||
namespace MudEngine.GameManagement
|
||||
{
|
||||
public interface IGameCommand
|
||||
{
|
||||
//Name of the command
|
||||
String Name { get; set; }
|
||||
//Used to override commands with the same name
|
||||
Boolean Override { get; set; }
|
||||
|
||||
//Used when the player enters the help command
|
||||
List<String> Help { get; set; }
|
||||
|
||||
//Executes the command.
|
||||
void Execute(String command, BaseCharacter player);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue