예제 #1
0
 private void TrexJumpComplete(object sender, EventArgs e)
 {
     if (State == GameState.Transition)
     {
         State = GameState.Playing;
         trex.Initialize();
         _scoreBoard.Initialize();
     }
 }
예제 #2
0
        private void trex_JumpComplete(object sender, EventArgs e)
        {
            if (State == GameState.Transition)
            {
                State = GameState.Playing;
                _trex.Initialize();

                _obstacleManager.IsEnabled = true;
            }
        }