1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 11:12:59 +08:00

"Use" the hitobject

Obviously temporary.
This commit is contained in:
Dean Herbert 2017-09-05 21:30:14 +09:00
parent 0fc2e49ce6
commit 081b98ef39

View File

@ -44,13 +44,16 @@ namespace osu.Game.Rulesets.Osu.Scoring
foreach (var h in beatmap.HitObjects) foreach (var h in beatmap.HitObjects)
{ {
// TODO: add support for other object types. if (h != null)
AddJudgement(new OsuJudgement
{ {
MaxScore = OsuScoreResult.Hit300, // TODO: add support for other object types.
Score = OsuScoreResult.Hit300, AddJudgement(new OsuJudgement
Result = HitResult.Hit {
}); MaxScore = OsuScoreResult.Hit300,
Score = OsuScoreResult.Hit300,
Result = HitResult.Hit
});
}
} }
} }