Mud Designer:

- Removed from solution

Mud Engine:
 - Moved the CommandEngine, CommandResults and ICommand Interface out from the Commands namespace and into GameManagement since they manage the game commands.
 - Added CommandExit class to provide the ability to exit a game once running. This is fully implemented.
 - Realms, Zones and Rooms now have an IsInitial property for determining if this is an initial location for the Game.
 - Renamed GameSetup to Game.
 - Corrected GameObject being in the incorrect namespace.
 - Corrected the ScriptEngine not 
 - CommandEngine no longer needs a Name argument. Arguments changed from 5 to 4 due to this change.

Mud Game:
 - Added Example Game used for testing various MUDEngine features and testing constructability of games using the engine.
 - Currently only contains 1 Realm, 1 Zone and Two Rooms. Only working command is Exit.
This commit is contained in:
Scionwest_cp 2010-07-18 13:52:16 -07:00
parent 06266b7245
commit b8f6be12c0
16 changed files with 374 additions and 40 deletions

View file

@ -1,30 +0,0 @@
//Microsoft .NET Framework
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MudEngine.Commands
{
public class CommandResults
{
/// <summary>
/// Result of the command.
/// </summary>
public object[] Result { get; set; }
public CommandResults()
{
}
public CommandResults(object[] Result)
{
this.Result = Result;
}
public CommandResults(string message)
{
this.Result = new object[] { message };
}
}
}