Example #1
0
 /// <summary>
 /// Spellless constructor
 /// </summary>
 /// <param name="stats">Stats to use for this character</param>
 /// <param name="look">Look to use for this character</param>
 /// <param name="brain">Brain to use for this character</param>
 public Character(Stats stats, Look look, Brain brain) : this(stats, look, brain, new SpellBooks(), new Inventory(), new Equipment())
 {
 }
Example #2
0
 /// <summary>
 /// Compares agility values to determine who goes first.
 /// </summary>
 /// <param name="other">The other.</param>
 /// <returns></returns>
 public int CompareTo(Stats other)
 {
     return(StatUtil.GetDifference(StatType.AGILITY, other, this));
 }