playJump method

Future<void> playJump()

Plays the “jump” SFX (auto‐preloads first).

Implementation

Future<void> playJump() async {
  await _ensurePreloaded();
  final path = _cachedFiles['jump.wav']!;
  await _fxPlayer.play(DeviceFileSource(path), volume: 1.0);
}