muddesigner/Mud Designer/MudEngine/GameObjects/Environment/Door.cs
Scionwest_cp b87136bc13 Project restructure completed. All editors now contained within a single Project.
Note that some things are still broken from the migration, but will be addressed.
2009-12-01 19:27:01 -08:00

66 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
namespace MudDesigner.MudEngine.Objects.Environment
{
public class Door
{
public enum AvailableDoorStates
{
Uninstalled,
Installed,
}
[Category("Door Settings")]
[DefaultValue(false)]
public bool IsLocked
{
get;
set;
}
[Category("Door Settings")]
public string RequiredKey
{
get;
set;
}
[Category("Door Settings")]
[DefaultValue(0)]
public int LevelRequirement
{
get;
set;
}
[Category("Door Settings")]
[Description("Sets if the door is installed and useable within the room or not.")]
[DefaultValue(AvailableDoorStates.Uninstalled)]
public AvailableDoorStates DoorState
{
get;
set;
}
[Browsable(false)]
public AvailableTravelDirections TravelDirection
{
get;
set;
}
public Door(AvailableTravelDirections TravelDirection)
{
this.TravelDirection = TravelDirection;
}
public Door()
{
}
}
}