// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osuTK.Graphics; namespace osu.Game.Rulesets.Catch.UI { /// /// An interface providing a set of methods to update the combo counter. /// public interface ICatchComboCounter : IDrawable { /// /// Updates the counter to display the provided as initial value. /// The value should be immediately displayed without any animation. /// /// /// This is required for when instantiating a combo counter in middle of accumulating combo (via skin change). /// /// The combo value to be displayed as initial. void DisplayInitialCombo(int combo); /// /// Updates the counter to animate a transition from the old combo value it had to the current provided one. /// /// /// This is called regardless of whether the clock is rewinding. /// /// The new combo value. /// The colour of the object if hit, null on miss. void UpdateCombo(int combo, Color4? hitObjectColour); } }