Designer HUB:
* Moved editor buttons onto a Tab control, future test editors will be placed on a separate tab titled 'Testing Editors' MUDEngine: * Currency.cs - Added Default Values to Properties * Door.cs - Added initial properties and door state * ProjectInformation.cs - Removed StartingLocation enum and moved to Objects/Environment/InitialLocation.cs * Room.cs - Added initial properties * TravelDirections.cs - Added initial travel direction enum. Room Editor binds to this enum. Additional directions added in the future will automatically be added to the Room Designer. * ProjectInformation.cs - ProjectName property renamed to GameTitle. Room Designer: * User interface re-constructed and is closer to the final state. Shouldn't change much from it's current configuration.
This commit is contained in:
parent
7a8437763b
commit
ab8d46ed3c
10 changed files with 374 additions and 110 deletions
|
@ -2,10 +2,64 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace MUDEngine.Objects.Environment
|
||||
{
|
||||
public class Room : BaseObject
|
||||
{
|
||||
[Category("Room Information")]
|
||||
[DefaultValue("You don't smell anything unsual.")]
|
||||
public string Smell
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[Category("Room Information")]
|
||||
[DefaultValue("You hear nothing of interest.")]
|
||||
public string Listen
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[Category("Room Information")]
|
||||
[DefaultValue("You feel nothing.")]
|
||||
public string Feel
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/*public Stats StatDrain
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}*/
|
||||
|
||||
[Category("Room Information")]
|
||||
[DefaultValue(0)]
|
||||
public int StatDrainAmount
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[Category("Room Information")]
|
||||
[DefaultValue(false)]
|
||||
public bool IsSafeRoom
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public Room()
|
||||
{
|
||||
this.Feel = "You feel nothing.";
|
||||
this.Listen = "You hear nothing of interest.";
|
||||
this.Smell = "You don't smell anything unsual.";
|
||||
this.StatDrainAmount = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue