2020-05-29 15:40:10 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
#nullable disable
|
|
|
|
|
2020-05-29 15:40:10 +08:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using osu.Game.Rulesets.Edit;
|
|
|
|
using osu.Game.Rulesets.Edit.Tools;
|
|
|
|
using osu.Game.Rulesets.Taiko.Objects;
|
|
|
|
using osu.Game.Screens.Edit.Compose.Components;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Edit
|
|
|
|
{
|
|
|
|
public class TaikoHitObjectComposer : HitObjectComposer<TaikoHitObject>
|
|
|
|
{
|
2020-05-29 15:40:23 +08:00
|
|
|
public TaikoHitObjectComposer(TaikoRuleset ruleset)
|
2020-05-29 15:40:10 +08:00
|
|
|
: base(ruleset)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
protected override IReadOnlyList<HitObjectCompositionTool> CompositionTools => new HitObjectCompositionTool[]
|
|
|
|
{
|
|
|
|
new HitCompositionTool(),
|
|
|
|
new DrumRollCompositionTool(),
|
|
|
|
new SwellCompositionTool()
|
|
|
|
};
|
|
|
|
|
2020-11-12 18:52:02 +08:00
|
|
|
protected override ComposeBlueprintContainer CreateBlueprintContainer()
|
|
|
|
=> new TaikoBlueprintContainer(this);
|
2020-05-29 15:40:10 +08:00
|
|
|
}
|
|
|
|
}
|