Beispiel #1
0
        public bool ListJump(Vector2 vPosition)
        {
            if (this.CtlGetStatus(RtcStatus.Aborted))
            {
                return(false);
            }
            Vector2 v     = Vector2.Transform(vPosition, this.Matrix.Calculate);
            int     xBits = (int)(v.X * this.kFactor);
            int     yBits = (int)(v.Y * this.kFactor);

            if (!this.IsListReady(1))
            {
                return(false);
            }

            RTC5Wrap.n_jump_abs(this.Index + 1, xBits, yBits);
            return(true);
        }