mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Rework score processor to provide more generic events
This commit is contained in:
@ -29,6 +29,7 @@ using osu.Game.Rulesets.Scoring;
|
||||
using osu.Game.Scoring;
|
||||
using osu.Game.Skinning;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Game.Rulesets.Osu.Statistics;
|
||||
using osu.Game.Screens.Ranking.Statistics;
|
||||
@ -200,7 +201,7 @@ namespace osu.Game.Rulesets.Osu
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Height = 130,
|
||||
Child = new TimingDistributionGraph((TimingDistribution)score.ExtraStatistics.GetValueOrDefault("timing_distribution"))
|
||||
Child = new TimingDistributionGraph(score.HitEvents.Cast<HitEvent>().ToList())
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both
|
||||
}
|
||||
@ -208,7 +209,7 @@ namespace osu.Game.Rulesets.Osu
|
||||
new StatisticContainer("Accuracy Heatmap")
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Child = new Heatmap((List<HitOffset>)score.ExtraStatistics.GetValueOrDefault("hit_offsets"))
|
||||
Child = new Heatmap(score.Beatmap, score.HitEvents.Cast<HitEvent>().ToList())
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both
|
||||
}
|
||||
|
Reference in New Issue
Block a user