private void ShowGameScreen() { _gameModel = new GameModel(); _gameView = new GameView(_gameModel); _gameModel.Width = _gameView.Width; _gameModel.Height = _gameView.Height; _gameModel.Initialize(); _gameModel.Start(); _page.LayoutRoot.Children.Add(_gameView); }
private float _seekPointRampDistance = 50; //distance at which the bug will start slowing its approach. #endregion Fields #region Constructors public PlayState(GameModel gameModel) : base(gameModel) { }
public ReadyState(GameModel gameModel) : base(gameModel) { }
public StartState(GameModel gameModel) : base(gameModel) { }
private float _seekPointRampDistance = 50; //distance at which the bug will start slowing its approach. #endregion Fields #region Constructors public StartState(GameModel gameModel) : base(gameModel) { }