mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:07:52 +08:00
Remove unnecessary virtual
specs
This commit is contained in:
parent
577bdade5b
commit
6d04823b05
@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.Catch.Mods
|
|||||||
MaxValue = 50,
|
MaxValue = 50,
|
||||||
};
|
};
|
||||||
|
|
||||||
public virtual void Update(Playfield playfield)
|
public void Update(Playfield playfield)
|
||||||
{
|
{
|
||||||
var catchPlayfield = (CatchPlayfield)playfield;
|
var catchPlayfield = (CatchPlayfield)playfield;
|
||||||
bool shouldAlwaysShowCatcher = IsBreakTime.Value;
|
bool shouldAlwaysShowCatcher = IsBreakTime.Value;
|
||||||
|
@ -39,7 +39,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
spinnerPeriods = new PeriodTracker(beatmap.HitObjects.OfType<Spinner>().Select(b => new Period(b.StartTime - TRANSITION_DURATION, b.EndTime)));
|
spinnerPeriods = new PeriodTracker(beatmap.HitObjects.OfType<Spinner>().Select(b => new Period(b.StartTime - TRANSITION_DURATION, b.EndTime)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void Update(Playfield playfield)
|
public void Update(Playfield playfield)
|
||||||
{
|
{
|
||||||
bool shouldAlwaysShowCursor = IsBreakTime.Value || spinnerPeriods.IsInAny(playfield.Clock.CurrentTime);
|
bool shouldAlwaysShowCursor = IsBreakTime.Value || spinnerPeriods.IsInAny(playfield.Clock.CurrentTime);
|
||||||
float targetAlpha = shouldAlwaysShowCursor ? 1 : ComboBasedAlpha;
|
float targetAlpha = shouldAlwaysShowCursor ? 1 : ComboBasedAlpha;
|
||||||
|
Loading…
Reference in New Issue
Block a user