A tank with 5 turrets (types)

Blitz3D Forums/Blitz3D Programming/A tank with 5 turrets (types)

Yes. In the tankType definition, 'Field turrets.turretType[4]' simply says that "the field called 'turrets' is an array to hold pointers to 5 turretTypes". Then, in the For/next loop, we actually create the 5 turretType instances and store the pointers to them in the tankType array.