Add Stop + RemoveAdjustment functions

This commit is contained in:
iiSaLMaN 2019-08-28 13:10:11 +03:00
parent cb8fe89b8b
commit 2f3fb8cf88

View File

@ -49,8 +49,10 @@ namespace osu.Game.Skinning
}
public void Play() => channels?.ForEach(c => c.Play());
public void Stop() => channels?.ForEach(c => c.Stop());
public void AddAdjustment(AdjustableProperty type, BindableDouble adjustBindable) => channels?.ForEach(c => c.AddAdjustment(type, adjustBindable));
public void RemoveAdjustment(AdjustableProperty type, BindableDouble adjustBindable) => channels?.ForEach(c => c.RemoveAdjustment(type, adjustBindable));
public override bool IsPresent => Scheduler.HasPendingTasks;