comparison api/Objects/CompositeEquipmentItem.cs @ 63:a920b1bcb408

Re #61 - Complete structure of WarFoundry API objects * Use correct name for variable in constructor
author IBBoard <dev@ibboard.co.uk>
date Thu, 09 Apr 2009 15:05:38 +0000
parents e8735def0db5
children 2094bd0ba652
comparison
equal deleted inserted replaced
62:e8735def0db5 63:a920b1bcb408
15 { 15 {
16 private List<EquipmentItem> compositeItems; 16 private List<EquipmentItem> compositeItems;
17 17
18 public CompositeEquipmentItem(string id, string name, Race race) : base(id, name, race) 18 public CompositeEquipmentItem(string id, string name, Race race) : base(id, name, race)
19 { 19 {
20 containedItems = new List<EquipmentItem>(); 20 compositeItems = new List<EquipmentItem>();
21 } 21 }
22 22
23 public void AddItem(EquipmentItem item) 23 public void AddItem(EquipmentItem item)
24 { 24 {
25 compositeItems.Add(item); 25 compositeItems.Add(item);