// Note: The Mercenary class doesn't implement IInventory so the bonuses are only removed to the list // Unequips a bonus item public void UnequipBonus(Bonus bonus) { // Remove the bonus from the list bonuses.Remove(bonus); }
// Note: The Mercenary class doesn't implement IInventory so the bonuses are only removed to the list // Equips a bonus item public void EquipBonus(Bonus bonus) { // Add the bonus to the list bonuses.Add(bonus); }