[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Map::getBuilding and flags
From: |
Stéphane Magnenat |
Subject: |
Re: [glob2-devel] Map::getBuilding and flags |
Date: |
Fri, 7 Jul 2006 23:15:38 +0200 |
User-agent: |
KMail/1.9.3 |
On Friday 07 July 2006 22:59, Bradley Arsenault wrote:
> I have a simple question, how does Map handle flags? Since multiple
> flags can be on the same position, on the same position as another
> building (very common with war flags). Map doesn't have any specific
> flag related mechanisms, all I can figure is that placing a flag
> replaces the information about the building underneath it, or it
> doesn't store any information at all.
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
--
http://nct.ysagoon.com