* 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.
29 lines
689 B
C#
29 lines
689 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.ComponentModel;
|
|
using System.Collections.Generic;
|
|
|
|
namespace MUDEngine.Objects
|
|
{
|
|
public class Currency : BaseObject
|
|
{
|
|
[Category("Currency Settings")]
|
|
[DefaultValue(100)]
|
|
/// <summary>
|
|
/// The value of this currency. It should be how many 'base currency' it takes to equal 1 of this currency
|
|
/// </summary>
|
|
public int Value
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public Currency()
|
|
{
|
|
this.Name = "New Currency";
|
|
this.Value = 100;
|
|
}
|
|
}
|
|
}
|