Added MudEngine Project to the Solution. I will slowly be moving the MudDesigner.MudEngine classes out of the Mud Designer Solution and into it's own.
Currently the Mud Designer still contains the old MudEngine classes until migration has been completed.
This commit is contained in:
parent
7d3b6e471d
commit
dc311f5aa5
21 changed files with 1330 additions and 0 deletions
30
MudEngine/GameObjects/Currency.cs
Normal file
30
MudEngine/GameObjects/Currency.cs
Normal file
|
@ -0,0 +1,30 @@
|
|||
//Microsoft .NET Framework
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace MudEngine.GameObjects
|
||||
{
|
||||
public class Currency : BaseObject
|
||||
{
|
||||
[Category("Currency Settings")]
|
||||
[Description("The value of the currency is based off the BaseCurrencyValue set in the Project Information. If BaseCurrencyValue is 1, and a new Currency is 10, then it will take 10 BaseCurrency to equal 1 of the new Currencies.")]
|
||||
[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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue