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

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