On Friday 07 July 2006 23:20, Bradley Arsenault wrote:
> On 7/7/06, Stéphane Magnenat <[EMAIL PROTECTED]> wrote:
> > Flags are virtual buildings that do not take any room in the map. They
> > are only referenced by their posX, posY. The flag in BuildingType
> > allowing this is "isVirtual".
> >
> > Steph
>
> So if I want to look for flags, the only way I can is to look it up in
> Team::myBuildings? Ok, thanks.

Yes, although team might have a std::list<Building*> containing all virtual 
buildings. If this list exists, it is for optimisation to allow fast scanning 
of alél virtual buildings.

Steph

-- 
http://nct.ysagoon.com


_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to