/**
 * Moving between screens, from whichever screen asks. No JavaFX imports: it is
 * tested with a fake screen switcher.
 */
public class NavigationController {
	private ScreenSwitcher screens_;

	public NavigationController ( ScreenSwitcher screens ) {
		screens_ = screens;
	}

	/** From the start screen: play the chosen deal. */
	public void startGame ( int seed ) {
		screens_.showGame(seed);
	}

	/** From the game screen: leave this game and choose another deal. */
	public void newDeal () {
		screens_.showStart();
	}
}
