public double HitWindowFor(OsuScoreResult result) { switch (result) { default: return(300); case OsuScoreResult.Hit50: return(150); case OsuScoreResult.Hit100: return(80); case OsuScoreResult.Hit300: return(30); } }
private int scoreToInt(OsuScoreResult result) { switch (result) { default: return(0); case OsuScoreResult.Hit50: return(50); case OsuScoreResult.Hit100: return(100); case OsuScoreResult.Hit300: return(300); case OsuScoreResult.SliderTick: return(10); } }