Beispiel #1
0
        internal void PrintMousePosColor()
        {
            while (true)
            {
                Thread.Sleep(100);

                int x = au3.MouseGetPosX();
                int y = au3.MouseGetPosY();
                if (IsHealthPixel(new Point(x, y)))
                {
                    console.WriteLine("Is health bar");
                }
            }
        }
Beispiel #2
0
 public Vector GetPostion()
 {
     a = new Vector((int)auto.MouseGetPosX(), (int)auto.MouseGetPosY());
     return(a);
 }