예제 #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);
 }
예제 #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)
        {
        }
예제 #3
0
 public ReadyState(GameModel gameModel)
     : base(gameModel)
 {
 }
예제 #4
0
 public StartState(GameModel gameModel)
     : base(gameModel)
 {
 }
예제 #5
0
 public ReadyState(GameModel gameModel)
     : base(gameModel)
 {
 }
예제 #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)
        {
        }