Mud Designer HUB: * frmMain.cs - HUB now scans entire solution directory to find the correct app to launch rather than just checking the Project Manager directory. * frmMain.cs - HUB now has the app launch precess wrapped within a try/catch/finally. No exception handling added as of yet within the catch. MUDEngine: * Engine.cs - ValidateProjectPath method now creates the Currency directory. * Objects namespace added. * Moved the Environment namespace and folder within the new Objects namespace. * BaseObject.cs created. All Game objects will inherit from this, or a child of this class. * Currency.cs created. * ProjectInformation.cs - Added using statements. Project Manager: * Added Using statements for MUDEngine
28 lines
660 B
C#
28 lines
660 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")]
|
|
/// <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;
|
|
}
|
|
}
|
|
}
|