2019-02-18 05:54:21 +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 osu.Game.Rulesets.Difficulty.Preprocessing;
|
|
|
|
using osu.Game.Rulesets.Objects;
|
|
|
|
using osu.Game.Rulesets.Taiko.Objects;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Difficulty.Preprocessing
|
|
|
|
{
|
|
|
|
public class TaikoDifficultyHitObject : DifficultyHitObject
|
|
|
|
{
|
|
|
|
public readonly bool HasTypeChange;
|
|
|
|
|
2019-02-19 08:45:16 +00:00
|
|
|
public TaikoDifficultyHitObject(HitObject hitObject, HitObject lastObject, double clockRate)
|
|
|
|
: base(hitObject, lastObject, clockRate)
|
2019-02-18 05:54:21 +00:00
|
|
|
{
|
2020-03-23 03:08:15 +00:00
|
|
|
HasTypeChange = (lastObject as Hit)?.Type != (hitObject as Hit)?.Type;
|
2019-02-18 05:54:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|