Began initial work on the game world. World, Realm, Zone, Room and Doorway classes created but not implemented.
This commit is contained in:
parent
b708a63273
commit
a3eb1b5fad
18 changed files with 313 additions and 36 deletions
29
MudEngine/WinPC_Engine/Game/Environment/Doorway.cs
Normal file
29
MudEngine/WinPC_Engine/Game/Environment/Doorway.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
using MudEngine.GameScripts;
|
||||
|
||||
namespace MudEngine.Game.Environment
|
||||
{
|
||||
public class Doorway
|
||||
{
|
||||
public Boolean Locked { get; set; }
|
||||
|
||||
public BaseScript RequiredKey { get; private set; }
|
||||
|
||||
public Int32 LevelRequirement { get; set; }
|
||||
|
||||
public AvailableTravelDirections TravelDirection { get; set; }
|
||||
|
||||
public Room ArrivalRoom { get; private set; }
|
||||
|
||||
public Room DepartureRoom { get; private set; }
|
||||
|
||||
public Doorway(StandardGame game)
|
||||
{
|
||||
this.LevelRequirement = 0;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue