Project restructure completed. All editors now contained within a single Project.
Note that some things are still broken from the migration, but will be addressed.
This commit is contained in:
parent
ec48ae95c3
commit
b87136bc13
38 changed files with 4623 additions and 0 deletions
28
Mud Designer/MudEngine/GameObjects/Currency.cs
Normal file
28
Mud Designer/MudEngine/GameObjects/Currency.cs
Normal file
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace MudDesigner.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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue