public ScreenA(Navigator navigator) : base(navigator) { this.BoardViewModel = new BoardViewModel(ReversiBoard.CreateInitialState(4, 4)); }
public ScreenB(Navigator navigator) : base(navigator) { GoToA = new EasyCommand(() => SwitchTo(new ScreenA(navigator))); }
protected Screen(Navigator navigator) { this.navigator = navigator; }
public GameScreen(Navigator navigator, Puzzle puzzle) : base(navigator) { gameVM = new GameVM(puzzle); Reset = new EasyCommand(() => SwitchTo(new GameScreen(navigator, puzzle))); Again = new EasyCommand(() => SwitchTo(new SelectScreen(navigator))); }
public SelectScreen(Navigator navigator) : base(navigator) { selectVM = new SelectVM(); Start = new EasyCommand(() => SwitchTo(new GameScreen(navigator, selectVM.SelectedPuzzle.Puzzle))); }
public StartScreen(Navigator navigator) : base(navigator) { Start = new EasyCommand(() => SwitchTo(new SelectScreen(navigator))); }
public Screen(Navigator navigator) { this.navigator = navigator; }