Exemple #1
0
        public static int Mana()
        {
            int value = Recognition.MatchingXPixels("Game/mana.png", 40);

            int total = Pixels.GetWidth("Game/mana.png");

            return((int)Math.Round((double)(100 * value) / total));
        }
Exemple #2
0
        public static int Health()
        {
            int value = Recognition.MatchingXPixels("Game/health.png", 40);

            int total = Pixels.GetWidth("Game/health.png");

            return((int)Math.Round(100d * value / total));
        }
Exemple #3
0
        internal static Point EnemyChampion()
        {
            Point position = Recognition.FindImagePosition("Game/enemycharacter.png", 4);

            return(position);
        }
Exemple #4
0
        public static Point EnemyTowerStructure4()
        {
            Point position = Recognition.FindImagePosition("Game/towerstructure4.png", 4);

            return(position);
        }
Exemple #5
0
        public static Point EnemyCreepPosition()
        {
            Point position = Recognition.FindImagePosition("Game/enemycreephealth.png", 4);

            return(position);
        }