protected override void list_remove(object item) { Base_Static ent = (Base_Static)item; direct_contents.Remove((Game.Tile)ent); ent.__SetLocInternal(null); }
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!"); } }