Exemple #1
0
 public PuzzleEditorScreen(Navigator navigator) : base(navigator)
 {
     GoToMainMenu      = new EasyCommand(() => SwitchTo(new MenuScreen(navigator)));
     CreateEmptyPuzzle = new CreateEmptyPuzzleCommand();
 }
Exemple #2
0
 protected Screen(Navigator navigator)
 {
     this.navigator = navigator;
 }
Exemple #3
0
 public MenuScreen(Navigator navigator) : base(navigator)
 {
     GoToSelection    = new EasyCommand(() => SwitchTo(navigator.selectionScreen));
     GoToPuzzleEditor = new EasyCommand(() => SwitchTo(new PuzzleEditorScreen(navigator)));
 }
Exemple #4
0
        public SelectionScreenVM(Navigator navigator) : base(navigator)
        {
            addPuzzels();

            GoToPlayScreen = new SwitchScreenCommand(() => SwitchTo(new PlayScreenVM(navigator, SelectedPuzzle)));
        }