mirror of https://github.com/ppy/osu
Update in-line with framework changes
This commit is contained in:
parent
348083f589
commit
66ee9d1631
|
@ -1 +1 @@
|
|||
Subproject commit b70ca3de9ec1a8eb7fb73fcfd169ff38d00b07cd
|
||||
Subproject commit ff1e04024d16c0a6cabec7792573b0d019bd1bba
|
|
@ -25,8 +25,8 @@ protected sealed override void UpdateState(ArmedState state)
|
|||
{
|
||||
double transformTime = HitObject.StartTime - TIME_PREEMPT;
|
||||
|
||||
TransformStateTo(transformTime, true);
|
||||
ClearTransformsAfter(transformTime, true);
|
||||
base.ApplyTransformsAt(transformTime, true);
|
||||
base.ClearTransformsAfter(transformTime, true);
|
||||
|
||||
using (BeginAbsoluteSequence(transformTime, true))
|
||||
{
|
||||
|
@ -46,6 +46,11 @@ protected virtual void UpdateCurrentState(ArmedState state)
|
|||
{
|
||||
}
|
||||
|
||||
// Todo: At some point we need to move these to DrawableHitObject after ensuring that all other Rulesets apply
|
||||
// transforms in the same way and don't rely on them not being cleared
|
||||
public override void ClearTransformsAfter(double time, bool propagateChildren = false, string targetMember = null) { }
|
||||
public override void ApplyTransformsAt(double time, bool propagateChildren = false) { }
|
||||
|
||||
private OsuInputManager osuActionInputManager;
|
||||
internal OsuInputManager OsuActionInputManager => osuActionInputManager ?? (osuActionInputManager = GetContainingInputManager() as OsuInputManager);
|
||||
}
|
||||
|
|
|
@ -215,9 +215,6 @@ protected virtual void AddNested(DrawableHitObject<TObject> h)
|
|||
nestedHitObjects.Add(h);
|
||||
}
|
||||
|
||||
protected override bool AllowStateTransformByParent => false;
|
||||
protected override bool AllowTransformClearByParent => false;
|
||||
|
||||
protected abstract void UpdateState(ArmedState state);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue