Co-authored-by: ekrctb <32995012+ekrctb@users.noreply.github.com>
DrawableJudgement
Undated, but change was made on 2020-11-18.
Add seed option for all random mods
Closes #13320.
Refactor catch Movement skill to not require explicit clockrate usage
OnAdd
OnRemove
HitObjectContainer
Instead, override `AddDrawable`/`RemoveDrawable`.
HitObjectContainer.Clear
It just call `Remove` for all entries.
EntryCrossedBoundary
RemoveRewoundEntry
It can be used for dynamically added entries.
Update DHO lifetime on entry lifetime change
DrawableRuleset
DrawableEditorRulesetWrapper
Setting entry lifetime will cause `LifetimeChanged` event and `base.LifetimeStart`/`End` will be modified in the callback.
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
IScrollingHitObject
HitObjectContainer.OnAdd
Now, `OnAdd` is always invoked after the DHO is added to the container. This change is required by `ScrollingHitObjectContainer` to compute origin adjusted lifetime when origin position is relative to the parent drawable size.
# Conflicts: # osu.Game/Rulesets/UI/Scrolling/ScrollingHitObjectContainer.cs
scrollLength
It was not clear when the field is updated.
The scheduling is no longer necessary because `OnAdd` is changed to not invoked immediately for non-pooled DHOs.
Only top-level hit objects are checked for layout computation caching. Also, lifetime of nested hit objects are not managed by the HitObjectContainer.
Update hit object lifetime on `HitObject.DefaultsApplied`
Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
HitObject.DefaultsApplied
InitialLifetimeOffset
OnApply/OnFree
ApplyDefaults