make array of your parent class, but you must “Class” rather than “Reference”
then you must fill this array
and you can get any children class by index
make array of your parent class, but you must “Class” rather than “Reference”
then you must fill this array
and you can get any children class by index