public override void Relocate(Position pos) { int deltaTick = pos.Tick - Position.Tick; base.Relocate(pos); CheckNotePosition?.Invoke(this, deltaTick); return; }
public override void Relocate(Position pos, PointF location, int laneIndex) { int deltaTick = pos.Tick - Position.Tick; base.Relocate(pos); base.Relocate(location, laneIndex); CheckNotePosition?.Invoke(this, deltaTick); return; }
public override void Relocate(Position pos) { if (IsPositionAvailable == null || !IsPositionAvailable(this, pos)) { return; } int deltaTick = pos.Tick - Position.Tick; base.Relocate(pos); CheckNotePosition?.Invoke(this, deltaTick); return; }
public override void Relocate(PointF location, int laneIndex) { base.Relocate(location, laneIndex); CheckNotePosition?.Invoke(this, 0); return; }