1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:32:55 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Scoring/HitOffset.cs
2020-06-15 22:44:55 +09:00

24 lines
673 B
C#

// 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 osuTK;
namespace osu.Game.Rulesets.Osu.Scoring
{
public class HitOffset
{
public readonly Vector2 Position1;
public readonly Vector2 Position2;
public readonly Vector2 HitPosition;
public readonly float Radius;
public HitOffset(Vector2 position1, Vector2 position2, Vector2 hitPosition, float radius)
{
Position1 = position1;
Position2 = position2;
HitPosition = hitPosition;
Radius = radius;
}
}
}