Exemplo n.º 1
0
        public void Update()
        {
            if (!Comunication.WasLaunched && Comunication.IsAfterMouse && Comunication.IsInside)
            {
                // get a new position to throw the mouse at, and then trow it there
                Point NewRandomMousePos = new Point(random.Next(0, 1366), random.Next(0, 768));
                setCursosPos(NewRandomMousePos.X, NewRandomMousePos.Y);

                // give the mouse some time to recover
                Comunication.stopDetection(1500);
            }
        }