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)); }
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)); }
internal static Point EnemyChampion() { Point position = Recognition.FindImagePosition("Game/enemycharacter.png", 4); return(position); }
public static Point EnemyTowerStructure4() { Point position = Recognition.FindImagePosition("Game/towerstructure4.png", 4); return(position); }
public static Point EnemyCreepPosition() { Point position = Recognition.FindImagePosition("Game/enemycreephealth.png", 4); return(position); }