2017-11-29 15:22:11 +08:00
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
2017-11-30 15:58:14 +08:00
|
|
|
using System.Collections.Generic;
|
2017-11-30 18:19:34 +08:00
|
|
|
using osu.Game.Beatmaps;
|
2017-11-30 17:48:00 +08:00
|
|
|
using osu.Game.Rulesets.Edit;
|
2017-11-30 15:58:14 +08:00
|
|
|
using osu.Game.Rulesets.Edit.Tools;
|
|
|
|
using osu.Game.Rulesets.Osu.Objects;
|
2017-11-30 18:19:34 +08:00
|
|
|
using osu.Game.Rulesets.UI;
|
2017-11-30 15:58:14 +08:00
|
|
|
|
2017-11-29 15:22:11 +08:00
|
|
|
namespace osu.Game.Rulesets.Osu.Edit
|
|
|
|
{
|
2017-11-30 17:48:00 +08:00
|
|
|
public class OsuHitObjectComposer : HitObjectComposer
|
2017-11-29 15:22:11 +08:00
|
|
|
{
|
2017-11-29 16:46:12 +08:00
|
|
|
public OsuHitObjectComposer(Ruleset ruleset)
|
|
|
|
: base(ruleset)
|
|
|
|
{
|
|
|
|
}
|
2017-11-30 15:58:14 +08:00
|
|
|
|
2017-11-30 18:19:34 +08:00
|
|
|
protected override RulesetContainer CreateRulesetContainer(Ruleset ruleset, WorkingBeatmap beatmap) => new OsuEditRulesetContainer(ruleset, beatmap, true);
|
|
|
|
|
2017-11-30 15:58:14 +08:00
|
|
|
protected override IReadOnlyList<ICompositionTool> CompositionTools => new ICompositionTool[]
|
|
|
|
{
|
|
|
|
new HitObjectCompositionTool<HitCircle>(),
|
|
|
|
new HitObjectCompositionTool<Slider>(),
|
|
|
|
new HitObjectCompositionTool<Spinner>()
|
|
|
|
};
|
2017-11-29 15:22:11 +08:00
|
|
|
}
|
|
|
|
}
|