2020-05-29 07:40:10 +00: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.
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
2023-09-20 06:28:13 +00:00
|
|
|
using osu.Game.Beatmaps;
|
2020-05-29 07:40:10 +00:00
|
|
|
using osu.Game.Rulesets.Edit;
|
|
|
|
using osu.Game.Rulesets.Edit.Tools;
|
2023-09-20 06:28:13 +00:00
|
|
|
using osu.Game.Rulesets.Mods;
|
2020-05-29 07:40:10 +00:00
|
|
|
using osu.Game.Rulesets.Taiko.Objects;
|
2023-09-20 06:28:13 +00:00
|
|
|
using osu.Game.Rulesets.UI;
|
2020-05-29 07:40:10 +00:00
|
|
|
using osu.Game.Screens.Edit.Compose.Components;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Edit
|
|
|
|
{
|
2023-09-01 10:49:57 +00:00
|
|
|
public partial class TaikoHitObjectComposer : ScrollingHitObjectComposer<TaikoHitObject>
|
2020-05-29 07:40:10 +00:00
|
|
|
{
|
2023-07-28 20:09:28 +00:00
|
|
|
protected override bool ApplyHorizontalCentering => false;
|
2023-07-26 17:22:46 +00:00
|
|
|
|
2020-05-29 07:40:23 +00:00
|
|
|
public TaikoHitObjectComposer(TaikoRuleset ruleset)
|
2020-05-29 07:40:10 +00:00
|
|
|
: base(ruleset)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
protected override IReadOnlyList<HitObjectCompositionTool> CompositionTools => new HitObjectCompositionTool[]
|
|
|
|
{
|
|
|
|
new HitCompositionTool(),
|
|
|
|
new DrumRollCompositionTool(),
|
|
|
|
new SwellCompositionTool()
|
|
|
|
};
|
|
|
|
|
2023-09-20 06:28:13 +00:00
|
|
|
protected override DrawableRuleset<TaikoHitObject> CreateDrawableRuleset(Ruleset ruleset, IBeatmap beatmap, IReadOnlyList<Mod> mods) =>
|
|
|
|
new DrawableTaikoEditorRuleset(ruleset, beatmap, mods);
|
|
|
|
|
2020-11-12 10:52:02 +00:00
|
|
|
protected override ComposeBlueprintContainer CreateBlueprintContainer()
|
|
|
|
=> new TaikoBlueprintContainer(this);
|
2020-05-29 07:40:10 +00:00
|
|
|
}
|
|
|
|
}
|