- ValidateDataPaths no longer creates a ROOT folder as a child folder to the Data directory. - The Realm class now has a Zones collection property. - Adjusted Room and ProjectInformation Property Categories for Property Grid. Realm Explorer: - Now Save and Loads Realms - Now calls MUDEngine.Engine.ValidateDataPaths() during startup to ensure all directories exists. - New Realms can be created. - Existing Realms are now loaded into the listbox. - Prototype code wrote for finding available and un-available Zones. - Almost complete UI Zone Builder: - Now calls MUDEngine.Engine.ValidateDataPaths() during startup to ensure all directories exists.
28 lines
654 B
C#
28 lines
654 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.ComponentModel;
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|