Expose half catcher width to movement skill

This commit is contained in:
smoogipoo
2020-03-13 12:43:01 +09:00
parent 8d0bcf4bbb
commit c8cdc5fda5
2 changed files with 22 additions and 12 deletions

View File

@ -20,9 +20,16 @@ namespace osu.Game.Rulesets.Catch.Difficulty.Skills
protected override double DecayWeight => 0.94;
protected readonly float HalfCatcherWidth;
private float? lastPlayerPosition;
private float lastDistanceMoved;
public Movement(float halfCatcherWidth)
{
HalfCatcherWidth = halfCatcherWidth;
}
protected override double StrainValueOf(DifficultyHitObject current)
{
var catchCurrent = (CatchDifficultyHitObject)current;