Okay, so I have this ENEMY class right? I guess for simplicity, the subclasses are RED, BLU, GRN.
My game wants it to be that there is a certain chance that some of these varities spawn more than others, and I store all the enemies in a vector array.
The problem here is that if I make a vector array of ENEMY pointers, I can't access the member functions that are exclusive to the RED, BLU, and GRN subclasses. I can only access the base class' member functions, and even if I've overloaded RED/BLU/GRN's functions to behave differently, they default to the base class' methods. If this is easily explainable, or if there's a solution to this problem, please let me know; otherwise, I'll post my code and we'll see what we can do.