|
Britbot
|
Definition at line 298 of file SmartIsland.cs. {
int distFromAllIslands=0 ;
foreach (SmartIsland Islands in IslandList)
{
distFromAllIslands += Bot.Game.Distance(Islands.Loc, this.Loc);
}
//Note that a high score in this case is bad and therefor it is multiplied by -1
//When used, the use of a coefficient will most likely be imperative
return distFromAllIslands *-1 ;
}
|
1.7.6.1