public PuzzleEditorScreen(Navigator navigator) : base(navigator) { GoToMainMenu = new EasyCommand(() => SwitchTo(new MenuScreen(navigator))); CreateEmptyPuzzle = new CreateEmptyPuzzleCommand(); }
protected Screen(Navigator navigator) { this.navigator = navigator; }
public MenuScreen(Navigator navigator) : base(navigator) { GoToSelection = new EasyCommand(() => SwitchTo(navigator.selectionScreen)); GoToPuzzleEditor = new EasyCommand(() => SwitchTo(new PuzzleEditorScreen(navigator))); }
public SelectionScreenVM(Navigator navigator) : base(navigator) { addPuzzels(); GoToPlayScreen = new SwitchScreenCommand(() => SwitchTo(new PlayScreenVM(navigator, SelectedPuzzle))); }