示例#1
0
        private void saveExecuted(object sender, ExecutedRoutedEventArgs e)
        {
            string path = @"E:\Projects\Unity\WolfFPS\Assets\Levels\generated_test.lvl";

            InputOutputUtil.Save(level, path);
            Title = path;

            this.progressSaved = true;
            UpdateUnsavedIndicator();
        }
示例#2
0
        private void openExecuted(object sender, ExecutedRoutedEventArgs e)
        {
            if (ConfirmClose())
            {
                this.level = InputOutputUtil.Load(@"E:\Projects\Unity\WolfFPS\Assets\Levels\generated_test.lvl");
                ResetViewport();

                this.progressSaved = true;
                UpdateUnsavedIndicator();
            }
        }