Esempio n. 1
0
        private void BtnOpenLevel_Click(object sender, EventArgs e)
        {
            LevelInfo li = ProjectController.LevelManager.GetLevelInfo(CurrentPointer.LevelGuid);

            if (li == null)
            {
                MessageBox.Show("The level could no longer be found in the project");
            }
            else
            {
                ReubenController.EditLevel(li);
            }
        }
Esempio n. 2
0
        private void Open()
        {
            switch (SelectionType)
            {
            case SelectionType.Level:

                ReubenController.EditLevel(SelectedLevel);
                break;

            case SelectionType.World:
                ReubenController.EditWorld(SelectedWorld);
                break;
            }
        }