public static MapElement getMapElement(MapsManager manager)
        {
            element = new MapElement(manager);
            SmallDialog_NewMap dialog = new SmallDialog_NewMap("新建地图", manager.tileGfxManager, true);

            dialog.ShowDialog();
            return(element);
        }
        //设置地图单元
        public static void configMapElement(MapElement elementT)
        {
            if (elementT == null)
            {
                Console.WriteLine("error in configMapElement");
                return;
            }
            element = elementT;
            SmallDialog_NewMap dialog = new SmallDialog_NewMap("设置地图属性", element.mapsManager.tileGfxManager, false);

            dialog.ShowDialog();
        }
 public static MapElement getMapElement(MapsManager manager)
 {
     element = new MapElement(manager);
     SmallDialog_NewMap dialog = new SmallDialog_NewMap("新建地图", manager.tileGfxManager,true);
     dialog.ShowDialog();
     return element;
 }
 //设置地图单元
 public static void configMapElement(MapElement elementT)
 {
     if (elementT == null)
     {
         Console.WriteLine("error in configMapElement");
         return;
     }
     element = elementT;
     SmallDialog_NewMap dialog = new SmallDialog_NewMap("设置地图属性", element.mapsManager.tileGfxManager,false);
     dialog.ShowDialog();
 }