public Gump(int x, int y) { items = new BaseGumpCollection(); items.ItemAdded += new EventHandler <GumpCollectionEventArgs>(OnItemAdded); items.ItemRemoved += new EventHandler <GumpCollectionEventArgs>(OnItemRemoved); }
public GumpState(BaseGumpCollection collection) { stateCollection = new BaseGumpCollection(collection.Count); for (int i = 0; i < collection.Count; i++) { stateCollection.Add(collection[i].Clone()); } }