1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 04:52:57 +08:00

Adding lisence header

This commit is contained in:
frankhjwx 2018-05-21 10:16:32 +08:00
parent 0405383e4e
commit 886be8ce1f
2 changed files with 6 additions and 3 deletions

View File

@ -98,7 +98,7 @@ namespace osu.Game.Rulesets.Catch.Difficulty
return true;
}
}
/// <summary>
/// In milliseconds. For difficulty calculation we will only look at the highest strain value in each time interval of size STRAIN_STEP.
/// This is to eliminate higher influence of stream over aim by simply having more HitObjects with high strain.

View File

@ -1,4 +1,7 @@
using System;
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Catch.UI;
using OpenTK;
@ -76,7 +79,7 @@ namespace osu.Game.Rulesets.Catch.Difficulty
{
double bonus = DIRECTION_CHANGE_BONUS / sqrtTime;
// Weight bonus by how
// Weight bonus by how
double bonusFactor = Math.Min(playerPositioningError, Math.Abs(LastMovement)) / playerPositioningError;
// We want time to play a role twice here!