City Areas¶
This package contains the City Areas Render component, which is used to render the city areas from the city builder. It spawns all the necessary elements to handle the rendering of a city (province buildings).
A city is composed of the following entities:
- ModdableUpgradeComponent
(entity): the building received from the server
- ModdableUpgradeProgressComponent
(entity): when there is an upgrade ongoing in the city, it is represented by this entity
- ModdableUpgradeGroundIndex
(entity): the ground where a model may spawn. It is tagged accordingly when something is spawned or not. In the case a building was spawned on this ground, ModdableUpgradeGroundToEntityRef
will be present.
- VisualBuildingOrGroundTag
(entity): the model spawned on a given ModdableUpgradeGroundIndex
. It may be a model of a building or a model of an empty ground. When it is linked to a building, it will have the component ModdableUpgradeGroundToEntityRef
.