示例#1
0
文件: Gump.cs 项目: uotools/runuogdk
        public Gump(int x, int y)
        {
            items = new BaseGumpCollection();

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

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