Exemple #1
0
        public Gump(int x, int y)
        {
            items = new BaseGumpCollection();

            items.ItemAdded   += new EventHandler <GumpCollectionEventArgs>(OnItemAdded);
            items.ItemRemoved += new EventHandler <GumpCollectionEventArgs>(OnItemRemoved);
        }
Exemple #2
0
        public GumpState(BaseGumpCollection collection)
        {
            stateCollection = new BaseGumpCollection(collection.Count);

            for (int i = 0; i < collection.Count; i++)
            {
                stateCollection.Add(collection[i].Clone());
            }
        }