|
Britbot
|
Does every turn updating Should be called every turn.
Definition at line 164 of file Enemy.cs. {
//write out the enemy suspiction counter
Logger.Write("Enemy Suspiction: " + Enemy.EnemyIntelligenceSuspicionCounter);
//update the enemy data
List<EnemyGroup> updated = Enemy.AnalyzeEnemyGroups(cancellationToken);
//update the enemyGroups by logical stuff
Enemy.Groups = Enemy.Groups.Intersect(updated).ToList();
Enemy.Groups = Enemy.Groups.Union(updated).ToList();
//update heading in all groups
Enemy.Groups.ForEach(eGroup => eGroup.Update());
}
|
1.7.6.1