示例#1
0
            protected override void list_remove(object item)
            {
                Base_Static ent = (Base_Static)item;

                direct_contents.Remove((Game.Tile)ent);
                ent.__SetLocInternal(null);
            }
示例#2
0
            protected override void list_add(object item)
            {
                Base_Static ent = (Base_Static)item;

                if (ent is Game.Tile)
                {
                    direct_contents.Add((Game.Tile)ent);
                    ent.__SetLocInternal(owner);
                }
                else
                {
                    throw new Exception("BAD ITEM FOR ZONE CONTENTS!");
                }
            }