mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 09:02:55 +08:00
28 lines
851 B
C#
28 lines
851 B
C#
// 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 osu.Framework.Bindables;
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Objects
|
|
{
|
|
public class Hit : TaikoStrongableHitObject
|
|
{
|
|
public readonly Bindable<HitType> TypeBindable = new Bindable<HitType>();
|
|
|
|
/// <summary>
|
|
/// The <see cref="HitType"/> that actuates this <see cref="Hit"/>.
|
|
/// </summary>
|
|
public HitType Type
|
|
{
|
|
get => TypeBindable.Value;
|
|
set => TypeBindable.Value = value;
|
|
}
|
|
|
|
protected override StrongNestedHitObject CreateStrongNestedHit(double startTime) => new StrongNestedHit { StartTime = startTime };
|
|
|
|
public class StrongNestedHit : StrongNestedHitObject
|
|
{
|
|
}
|
|
}
|
|
}
|