public string AddItemToHero(IList <string> arguments) { string itemName = arguments[0]; string heroName = arguments[1]; int strengthBonus = int.Parse(arguments[2]); int agilityBonus = int.Parse(arguments[3]); int intelligenceBonus = int.Parse(arguments[4]); int hitPointsBonus = int.Parse(arguments[5]); int damageBonus = int.Parse(arguments[6]); IItem item = new CommonItem(itemName, strengthBonus, agilityBonus, intelligenceBonus, hitPointsBonus, damageBonus); IHero hero = this.GetHero(heroName); return(hero.AddItem(item)); }