mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Rework score processor to provide more generic events
This commit is contained in:
@ -1,10 +1,9 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using NUnit.Framework;
|
||||
using osu.Game.Rulesets.Osu;
|
||||
using osu.Game.Rulesets.Osu.Scoring;
|
||||
using osu.Game.Scoring;
|
||||
using osu.Game.Screens.Ranking.Statistics;
|
||||
|
||||
@ -17,11 +16,7 @@ namespace osu.Game.Tests.Visual.Ranking
|
||||
{
|
||||
var score = new TestScoreInfo(new OsuRuleset().RulesetInfo)
|
||||
{
|
||||
ExtraStatistics =
|
||||
{
|
||||
["timing_distribution"] = TestSceneTimingDistributionGraph.CreateNormalDistribution(),
|
||||
["hit_offsets"] = new List<HitOffset>()
|
||||
}
|
||||
HitEvents = TestSceneTimingDistributionGraph.CreateDistributedHitEvents().Cast<object>().ToList(),
|
||||
};
|
||||
|
||||
loadPanel(score);
|
||||
|
Reference in New Issue
Block a user