// 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.Difficulty.Preprocessing; using osu.Game.Rulesets.Taiko.Objects; using System.Collections.Generic; namespace osu.Game.Rulesets.Taiko.Difficulty.Preprocessing.Colour.Data { /// /// Encode colour information for a sequence of s. Consecutive s /// of the same are encoded within the same . /// public class MonoEncoding { /// /// List of s that are encoded within this . /// public List EncodedData { get; private set; } = new List(); /// /// The parent that contains this /// public ColourEncoding? Parent; /// /// Index of this encoding within it's parent encoding /// public int Index; /// /// How long the mono pattern encoded within is /// public int RunLength => EncodedData.Count; } }