1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 15:42:54 +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> /// </summary>
public bool Kiai; 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) public override void ApplyDefaults(TimingInfo timing, BeatmapDifficulty difficulty)
{ {
base.ApplyDefaults(timing, difficulty); base.ApplyDefaults(timing, difficulty);