/// <summary>
        /// Check to see if the right arrow should be pressed.
        /// </summary>
        /// <returns>True if the right arrow should be pressed.</returns>
        private bool CheckRight()
        {
            temp = Tools.Crop(screen, rRight);
            double result = BasicVision.CompareByPixels(temp, Properties.Resources.right);

            return((result < PERCENT && RightNotAlreadyPressed()) ? true : false);
        }
Beispiel #2
0
        public bool IsVisible(int x, int y, TeamData team)
        {
            var index = TeamLookup[team];

            return(BasicVision.GetBit(x, y, index));
        }