mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Fix regressing hits test
This commit is contained in:
@ -53,25 +53,6 @@ namespace osu.Game.Rulesets.Taiko.Tests.Skinning
|
||||
};
|
||||
}
|
||||
|
||||
private DrawableTaikoHitObject createHit(HitResult type) => new TestDrawableHit(new Hit { StartTime = Time.Current }, type);
|
||||
|
||||
private class TestDrawableHit : DrawableTaikoHitObject
|
||||
{
|
||||
private readonly HitResult type;
|
||||
|
||||
public TestDrawableHit(Hit hit, HitResult type)
|
||||
: base(hit)
|
||||
{
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
Result.Type = type;
|
||||
}
|
||||
|
||||
public override bool OnPressed(TaikoAction action) => false;
|
||||
}
|
||||
private DrawableTaikoHitObject createHit(HitResult type) => new DrawableTestHit(new Hit { StartTime = Time.Current }, type);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user