The building generator is used to build speed up the process of creating houses an buildings
Example
Here's an example of using this generator in a scene definition XML
<generator>
<classname>org.ffilmation.helpful.generators.fBuildingGenerator</classname>
<data>
<!-- Geometry of the building -->
<geometry>
<position x="3200" y="400" z="320"/>
<width>500</width>
<depth>500</depth>
<!-- Regular walls or doors, for each wall at floor 0 -->
<doors>WWDW</doors>
<floorHeight>
<minimum>300</minimum>
<maximum>300</maximum>
</floorHeight>
<floors>
<minimum>1</minimum>
<maximum>1</maximum>
</floors>
</geometry>
<!-- Materials to be applied to the building -->
<materials>
<!-- For floors, one of the candidates will be chosen and applied to all floors -->
<floors>
<candidate definition="FFMaterials_woods2_Wood2_11" weight="1"/>
</floors>
<!-- The roof of the building -->
<roof>
<candidate definition="FFMaterials_woods1_Wood1_28" weight="1"/>
</roof>
<!-- Walls. a list of material pairs ( normal wall+door wall ) -->
<walls>
<candidate walldefinition="MNIP_VillageMaterials_Windows13" doordefinition="MNIP_VillageMaterials_Door13" weight="1"/>
<candidate walldefinition="MNIP_VillageMaterials_Windows15" doordefinition="MNIP_VillageMaterials_Door15" weight="1"/>
</walls>
</materials>
</data>
</generator>