public void ApplyDefaultMatchingStrategy() { var strategy = new DefaultMatchStrategy(GameState); strategy.Failed += (o, e) => { _comboController.Reset(); GameState.Player.Confuse(); }; _inputHandler.MatchStrategy = strategy; }
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; }