Ejemplo n.º 1
0
 /// <summary>
 /// This method adds a combatant to the party.
 /// </summary>
 /// <param name="comb">The combatant to be added</param>
 /// <param name="stat">The status of the combatant</param>
 public void AddCombatant(Combatant comb, Status stat)
 {
     this.combatants.Add(comb, stat);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// This method is meant to be overridden.
 /// It is used to affect the combatant in some way.
 /// </summary>
 public virtual void Affect(Combatant c)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// This method removes a combatant from the party.
 /// </summary>
 /// <param name="comb">The combatant to be removed</param>
 public void RemoveCombatant(Combatant comb)
 {
     this.combatants.Remove(comb);
 }