1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 12:47:25 +08:00

Remove TaikoHitObject Type, we won't be using this going forward.

This commit is contained in:
smoogipooo 2017-03-18 18:40:26 +09:00
parent b399c6adbb
commit 4b3308fd1d

View File

@ -40,23 +40,6 @@ namespace osu.Game.Modes.Taiko.Objects
/// </summary>
public bool Kiai;
/// <summary>
/// The type of HitObject.
/// </summary>
public virtual TaikoHitType Type
{
get
{
SampleType st = Sample?.Type ?? SampleType.None;
return
// Centre/Rim
((st & ~(SampleType.Finish | SampleType.Normal)) == 0 ? TaikoHitType.CentreHit : TaikoHitType.RimHit)
// Finisher
| ((st & SampleType.Finish) > 0 ? TaikoHitType.Finisher : TaikoHitType.None);
}
}
public override void ApplyDefaults(TimingInfo timing, BeatmapDifficulty difficulty)
{
base.ApplyDefaults(timing, difficulty);