Esempio n. 1
0
 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);
 }
Esempio n. 2
0
        private float _seekPointRampDistance = 50; //distance at which the bug will start slowing its approach.

        #endregion Fields

        #region Constructors

        public PlayState(GameModel gameModel)
            : base(gameModel)
        {
        }
Esempio n. 3
0
 public ReadyState(GameModel gameModel)
     : base(gameModel)
 {
 }
Esempio n. 4
0
 public StartState(GameModel gameModel)
     : base(gameModel)
 {
 }
Esempio n. 5
0
 public ReadyState(GameModel gameModel)
     : base(gameModel)
 {
 }
Esempio n. 6
0
        private float _seekPointRampDistance = 50; //distance at which the bug will start slowing its approach.

        #endregion Fields

        #region Constructors

        public StartState(GameModel gameModel)
            : base(gameModel)
        {
        }