Struct LaneNote<TLane>
- Namespace
- ChartTools
- Assembly
- ChartTools.dll
public readonly struct LaneNote<TLane> : IDefinedLaneNote<TLane>, ILaneNote<TLane>, ILaneNote, INote, IReadOnlyLongObject, IEquatable<LaneNote<TLane>> where TLane : struct, Enum
Type Parameters
TLane
- Implements
-
IDefinedLaneNote<TLane>ILaneNote<TLane>IEquatable<LaneNote<TLane>>
- Inherited Members
- Extension Methods
Constructors
LaneNote(TLane)
public LaneNote(TLane lane)
Parameters
laneTLane
Properties
Index
Numerical value of the note identity
public byte Index { get; }
Property Value
Lane
public TLane Lane { get; init; }
Property Value
- TLane
Sustain
Maximum length the note can be held for extra points
public uint Sustain { get; init; }
Property Value
Methods
Equals(LaneNote<TLane>)
public bool Equals(LaneNote<TLane> other)
Parameters
otherLaneNote<TLane>
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(LaneNote<TLane>, LaneNote<TLane>)
public static bool operator ==(LaneNote<TLane> left, LaneNote<TLane> right)
Parameters
Returns
operator !=(LaneNote<TLane>, LaneNote<TLane>)
public static bool operator !=(LaneNote<TLane> left, LaneNote<TLane> right)
Parameters
Returns
Explicit Interface Implementations
MaxLanes
static byte MaxLanes { get; }
Returns
OpenExclusivity
static bool OpenExclusivity { get; }