public void add(SWFrameModel obj)
 {
     models.Add(obj);
 }
        //The function determines whether a collision has taken place between cursor and
        //models
        public GObject getCollision(SWFrameModel parent, Rectangle cursor)
        {
            if (parent.isOwner() == false)
            {
                //Check for an interesection
                if (parent.isCollision(cursor) == true)
                {
                    return (parent.ModelData);
                }

                return null;
            }
            else
            {

                foreach (SWFrameModel model in models)
                {
                    GObject result = getCollision(model, cursor);

                    if (result != null)
                    {
                        return result;
                    }
                }
            }

            return (null);
        }