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.
This commit is contained in:
parent
ec48ae95c3
commit
b87136bc13
38 changed files with 4623 additions and 0 deletions
66
Mud Designer/MudEngine/GameObjects/Environment/Door.cs
Normal file
66
Mud Designer/MudEngine/GameObjects/Environment/Door.cs
Normal file
|
@ -0,0 +1,66 @@
|
|||
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()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue