muddesigner/MudEngine/GameObjects/Environment/StartingLocation.cs
Scionwest_cp dc311f5aa5 Added MudEngine Project to the Solution. I will slowly be moving the MudDesigner.MudEngine classes out of the Mud Designer Solution and into it's own.
Currently the Mud Designer still contains the old MudEngine classes until migration has been completed.
2010-07-15 18:53:38 -07:00

32 lines
No EOL
788 B
C#

//MUD Engine
using MudEngine.FileSystem;
using MudEngine.GameObjects;
using MudEngine.GameObjects.Environment;
namespace MudEngine.GameObjects.Environment
{
public struct StartingLocation
{
public string Room;
public string Zone;
public string Realm;
public override string ToString()
{
if (string.IsNullOrEmpty(Room))
return "No initial location defined.";
else
{
if (Realm == "No Realm Associated.")
{
return Zone + "->" + Room;
}
else
{
return Realm + "->" + Zone + "->" + Room;
}
}
}
}
}