1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 15:27:26 +08:00
osu-lazer/osu.Game/Rulesets/Objects/PathControlPoint.cs
2019-12-05 13:43:38 +09:00

17 lines
501 B
C#

using System;
using osu.Framework.Bindables;
using osu.Game.Rulesets.Objects.Types;
using osuTK;
namespace osu.Game.Rulesets.Objects
{
public class PathControlPoint : IEquatable<PathControlPoint>
{
public readonly Bindable<Vector2> Position = new Bindable<Vector2>();
public readonly Bindable<PathType?> Type = new Bindable<PathType?>();
public bool Equals(PathControlPoint other) => Position.Value == other.Position.Value && Type.Value == other.Type.Value;
}
}