private void TrexJumpComplete(object sender, EventArgs e) { if (State == GameState.Transition) { State = GameState.Playing; trex.Initialize(); _scoreBoard.Initialize(); } }
private void trex_JumpComplete(object sender, EventArgs e) { if (State == GameState.Transition) { State = GameState.Playing; _trex.Initialize(); _obstacleManager.IsEnabled = true; } }