Another question, does subscribeToBringRessourcesStep() cover building construction sites?
Thanks On Thu, Oct 9, 2008 at 10:39 PM, Quinn Yee Qin Teh <[EMAIL PROTECTED]>wrote: > Okay.. so I presume that subscribeToBringRessourcesStep() uses > if(((Sint32)unitsWorking.size()<desiredMaxUnitWorking) to > let as many buildings get some workers as possible, instead of several > buildings hogging up all the workers, is that correct? If that's the > case, why does subscribeToBringRessourcesStep() use > while(((Sint32)unitsWorking.size()<desiredMaxUnitWorking)) instead > of the if statement like subscribeToBringRessourcesStep()? > > Thanks. > > > > > On Thu, Oct 9, 2008 at 6:16 AM, Bradley Arsenault <[EMAIL PROTECTED]>wrote: > >> Its because subscribeForFlagingStep and subscribetoBringRessourcesStep >> only subscribe one unit. Goes through all the buildings multiple times, >> until all units that can be hired are. >> >> >> -- >> Extra cheese comes at a cost. Bradley Arsenault. >> >> _______________________________________________ >> glob2-devel mailing list >> [email protected] >> http://lists.nongnu.org/mailman/listinfo/glob2-devel >> >> >
_______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
