// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Rulesets.Taiko.Difficulty.Preprocessing.Colour.Data; namespace osu.Game.Rulesets.Taiko.Difficulty.Preprocessing.Colour { /// /// Stores colour compression information for a . /// public class TaikoDifficultyHitObjectColour { /// /// The that encodes this note. /// public MonoStreak? MonoStreak; /// /// The that encodes this note. /// public AlternatingMonoPattern? AlternatingMonoPattern; /// /// The that encodes this note. /// public RepeatingHitPatterns? RepeatingHitPattern; /// /// The closest past that's not the same colour. /// public TaikoDifficultyHitObject? PreviousColourChange => MonoStreak?.FirstHitObject.PreviousNote(0); /// /// The closest future that's not the same colour. /// public TaikoDifficultyHitObject? NextColourChange => MonoStreak?.LastHitObject.NextNote(0); } }