public void Run() { podsData.UpdateSubGroups(); //attribution des roles ratios.ComputeRatios(podsData.OwnPods.Count, map.ZoneCount, map.ZonesData.OwnZones.Count, map.ZonesData.NeutralZones.Count, 0); AttributeRoles(); foreach (var role in roles) { //calcul des cibles var targets = role.ComputeTargets(map.ZonesData); //assignations des missions role.AttributeTargets(podsData, targets, map); } //deplacement des pods MovePods(); moves.Print(); }