Beispiel #1
0
        public override void Relocate(Position pos)
        {
            int deltaTick = pos.Tick - Position.Tick;

            base.Relocate(pos);
            CheckNotePosition?.Invoke(this, deltaTick);
            return;
        }
Beispiel #2
0
        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;
        }
Beispiel #3
0
        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;
        }
Beispiel #4
0
 public override void Relocate(PointF location, int laneIndex)
 {
     base.Relocate(location, laneIndex);
     CheckNotePosition?.Invoke(this, 0);
     return;
 }