/// <summary>
/// Attribute.cs
/// High Sword
/// July 27, 2012
///
/// This is the class for all of the character attributes in-game
/// </summary>
public class Attribute : BaseStat {
new public const int STARTING_EXP_COST = 50; // this is starting cost for all of our attributes
private string _name; // this is the name of the attribute
/// <summary>
/// Initializes a new instance of the <see cref="Attribute"/> class.
/// </summary>
public Attribute () {
_name = "";
ExpToLevel = STARTING_EXP_COST;
LevelModifier = 1.05f;
}
/// <summary>
/// Gets or sets the _name.
/// </summary>
/// <value>
/// The _name.
/// </value>
public string Name {
get{return _name;}
set{_name = value;}
}
}
/// <summary>
/// This is a list of all the attributes that will have an in-game for our characters
/// </summary>
public enum AttributeName {
Might,
Constitution,
Nimbleness,
Speed,
Concentration,
Willpower,
Charisma
}
Attribute.cs
最新推荐文章于 2021-04-22 14:57:07 发布