Categorization hierarchy of units
Posted: Sun Nov 22, 2015 3:13 pm
The category tree is important because we can set things based on this categorization. The INDENTation shoows the parent-child relation. in a parent child relation case it is enough to put the unit into the "leaf" and it will be assigned automatically to the higher levels.
Code: Select all
U_AIR_UNITS,
U_PLANES_FIGHTER,
U_PLANES_BOMBER,
U_GROUND_UNITS,
U_INFANTRY,
U_VEHICLE,
U_LIGHT_VEHICLE,
U_HEAVY_VEHICLE,
U_TANKS,
U_TANKS_HEAVY,
U_TANKS_LIGHT,
U_WATER_UNITS,
U_SHIPS,
U_SHIPS_DESTROYER,
U_SHIPS_CARRIER,
U_SHIPS_OTHER,
U_UBOATS,
U_BUILDINGS,
U_GROUND_BUILDINGS,
U_WATER_BUILDINGS,
U_ANTI_TANK,
U_ANTI_AIR,
U_ANTI_SHIP,
U_TC,
U_ALLIES,