// private PuzzleBobbleSoundManager() { } public static void playSound(SoundsEvent e) { switch (e) { case SoundsEvent.BALL_EXPLOSION: { OnBallExplosion.Play(); break; } case SoundsEvent.BALL_DOCKED: { OnBallDocked.Play(); break; } case SoundsEvent.BALL_SHOOT: { OnBallShoot.Play(); break; } case SoundsEvent.ARROW_MOVED: { // OnArrowMoved.Play(); break; } case SoundsEvent.WIN: { OnWin.Play(); break; } case SoundsEvent.ROOF_TICK: { clockTicking.Play(); break; } case SoundsEvent.ROOF_DOWN: { doorSlam.Play(0.75f, 0.0f, 0.0f); break; } default: break; } }