/** Total reset */ public void reset() { clearLists(); ticks = 0; gameOverTicks = 0; soundEffects = !Specular.prefs.getBoolean("SoundsMuted"); particlesEnabled = Specular.prefs.getBoolean("Particles"); if (music != null) music.setVolume(1f); gameMode = new Ranked(this); enemiesKilled = 0; // Adding player and setting up input processor pss.spawn(false); shaken = false; gameInputProcessor = new GameInputProcessor(this); gameInputProcessor.reset(); input.setInputProcessor(gameInputProcessor); ggInputProcessor = new GameOverInputProcessor(game, this); pauseInputProcessor = new PauseInputProcessor(game, this); resetGameTime(); cs.resetCombo(); scoreMultiplier = 1; scoreMultiplierTimer = 0; boardshockCharge = 0; Bullet.maxBounces = 0; Bullet.setTwist(false); Bullet.setDamage(1); FireRateBoost.stacks = 0; // Refreshing upgrades refreshUpgrades(); waveNumber = 0; waveManager.resetGame(); currentWave = waveManager.getWave(waveNumber); }