private float GetEnemyManaFountainScore(VirtualGame virtualGame, ManaFountain manaFountain) { return(virtualGame.GetVirtualPortalsInArea(manaFountain.GetLocation(), maxDistanceFromEnemyManaFountain).Count); }
private ElfPlanState CreateElfState(Elf elf, ManaFountain targetManaFountain) { Location targetLocation = targetManaFountain.GetLocation().Towards(elf, Constants.Game.ManaFountainSize + Constants.Game.ElfAttackRange); return(new ElfPlanState(elf, targetLocation)); }