Esempio n. 1
0
 public void ApplyDefaultMatchingStrategy()
 {
     var strategy = new DefaultMatchStrategy(GameState);
     strategy.Failed += (o, e) =>
     {
         _comboController.Reset();
         GameState.Player.Confuse();
     };
     _inputHandler.MatchStrategy = strategy;
 }
Esempio n. 2
0
 public void SwithBossModeOff()
 {
     _rhytmEngine.PatternGenerator = new BeatPatternGenerator(500);
     var strategy = new DefaultMatchStrategy(_gameState);
     strategy.Failed += (o, e) =>
                            {
                                _gameState.Combo.Reset();
                                _gameState.Player.Confuse();
                            };
     _inputHandler.MatchStrategy = strategy;
 }