Rename finisher -> accented.

This commit is contained in:
smoogipooo
2017-03-24 11:09:01 +09:00
parent 4e31e3b443
commit afdb719c60
3 changed files with 11 additions and 10 deletions

View File

@ -44,7 +44,7 @@ namespace osu.Game.Modes.Taiko.Beatmaps
IHasRepeats repeatsData = original as IHasRepeats;
IHasEndTime endTimeData = original as IHasEndTime;
bool isFinisher = ((original.Sample?.Type ?? SampleType.None) & SampleType.Finish) > 0;
bool accented = ((original.Sample?.Type ?? SampleType.None) & SampleType.Finish) > 0;
if (distanceData != null)
{
@ -52,7 +52,7 @@ namespace osu.Game.Modes.Taiko.Beatmaps
{
StartTime = original.StartTime,
Sample = original.Sample,
IsFinisher = isFinisher,
Accented = accented,
Distance = distanceData.Distance * (repeatsData?.RepeatCount ?? 1)
};
@ -65,7 +65,7 @@ namespace osu.Game.Modes.Taiko.Beatmaps
{
StartTime = original.StartTime,
Sample = original.Sample,
IsFinisher = isFinisher,
Accented = accented,
EndTime = original.StartTime + endTimeData.Duration * bash_convert_factor
};
@ -75,7 +75,7 @@ namespace osu.Game.Modes.Taiko.Beatmaps
{
StartTime = original.StartTime,
Sample = original.Sample,
IsFinisher = isFinisher
Accented = accented
};
}
}