Ok, but it you make the variable of type power-up, then you could do it with a cast to the child, no?
( still accept I might be missing something… )
Ok, but it you make the variable of type power-up, then you could do it with a cast to the child, no?
( still accept I might be missing something… )