Beispiel #1
0
        void SavePolygonListOk(Window callingWindow)
        {
            string fileName = ((FileWindow)callingWindow).Results[0];

            PolygonSaveList polygonSaveList = new PolygonSaveList();

            polygonSaveList.AddPolygonList(EditorData.Polygons);
            polygonSaveList.Save(fileName);

#if FRB_MDX
            GameForm.TitleText = "PolygonEditor - Editing " + fileName;
#else
            FlatRedBallServices.Game.Window.Title = "PolygonEditor Editing - " + fileName;
#endif

            fileName  = FileManager.RemoveExtension(fileName);
            fileName += ".pesix";
            PolygonEditorSettings savedInformation = new PolygonEditorSettings(EditorData.LineGrid);
            savedInformation.Save(fileName);
        }
Beispiel #2
0
        void SavePolygonListOk(Window callingWindow)
        {
            string fileName = ((FileWindow)callingWindow).Results[0];

            PolygonSaveList polygonSaveList = new PolygonSaveList();
            polygonSaveList.AddPolygonList(EditorData.Polygons);
            polygonSaveList.Save(fileName);

#if FRB_MDX
            GameForm.TitleText = "PolygonEditor - Editing " + fileName;
#else
            FlatRedBallServices.Game.Window.Title = "PolygonEditor Editing - " + fileName;
#endif

            fileName = FileManager.RemoveExtension(fileName);
            fileName += ".pesix";
            PolygonEditorSettings savedInformation = new PolygonEditorSettings(EditorData.LineGrid);
            savedInformation.Save(fileName);


        }