SimaiGameplaySettings constructor

const SimaiGameplaySettings({
  1. double noteSpeed = 8.0,
  2. int musicOffsetMs = 0,
  3. int judgementOffsetMs = 0,
  4. double musicVolume = 0.8,
  5. double hitSoundVolume = 0.72,
  6. bool hitSoundEnabled = true,
  7. SimaiMirrorMode mirrorMode = SimaiMirrorMode.none,
  8. SimaiBackgroundMode backgroundMode = SimaiBackgroundMode.judgeZone,
  9. SimaiJudgementDisplayMode judgementDisplayMode = SimaiJudgementDisplayMode.twoB,
  10. SimaiGameplayCenterDisplayMode centerDisplayMode = SimaiGameplayCenterDisplayMode.achievementAdd,
  11. bool showApproachLine = true,
  12. bool showHitEffects = true,
  13. bool showInputPartitions = false,
  14. bool showTouchIndicators = true,
})

Implementation

const SimaiGameplaySettings({
  this.noteSpeed = 8.0,
  this.musicOffsetMs = 0,
  this.judgementOffsetMs = 0,
  this.musicVolume = 0.8,
  this.hitSoundVolume = 0.72,
  this.hitSoundEnabled = true,
  this.mirrorMode = SimaiMirrorMode.none,
  this.backgroundMode = SimaiBackgroundMode.judgeZone,
  this.judgementDisplayMode = SimaiJudgementDisplayMode.twoB,
  this.centerDisplayMode = SimaiGameplayCenterDisplayMode.achievementAdd,
  this.showApproachLine = true,
  this.showHitEffects = true,
  this.showInputPartitions = false,
  this.showTouchIndicators = true,
});