2022-07-05 14:41:40 +08:00
|
|
|
using osu.Game.Rulesets.Difficulty.Preprocessing;
|
2022-07-14 16:29:23 +08:00
|
|
|
using osu.Game.Rulesets.Taiko.Objects;
|
2022-07-05 14:41:40 +08:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Difficulty.Preprocessing.Colour
|
|
|
|
{
|
2022-07-14 16:29:23 +08:00
|
|
|
/// <summary>
|
|
|
|
/// Encode colour information for a sequence of <see cref="TaikoDifficultyHitObject"/>s. Consecutive <see cref="TaikoDifficultyHitObject"/>s
|
|
|
|
/// of the same <see cref="HitType"/> are encoded within the same <see cref="MonoEncoding"/>.
|
|
|
|
/// </summary>
|
2022-07-05 14:41:40 +08:00
|
|
|
public class MonoEncoding
|
|
|
|
{
|
2022-07-14 16:29:23 +08:00
|
|
|
/// <summary>
|
|
|
|
/// List of <see cref="DifficultyHitObject"/>s that are encoded within this <see cref="MonoEncoding"/>.
|
|
|
|
/// This is not declared as <see cref="TaikoDifficultyHitObject"/> to avoid circular dependencies.
|
|
|
|
/// TODO: Review this, are circular dependencies within data-only classes are acceptable?
|
|
|
|
/// </summary>
|
2022-07-05 14:41:40 +08:00
|
|
|
public List<TaikoDifficultyHitObject> EncodedData { get; private set; } = new List<TaikoDifficultyHitObject>();
|
|
|
|
|
|
|
|
public int RunLength => EncodedData.Count;
|
|
|
|
}
|
|
|
|
}
|