I'm having a bit of a mental block and am not sure the following can even be
done.
I have a virtual base class, say Animal. Most of the methods are virtual except
for the method death() { decay };
I use this as a base class for a new class, cheetah.
I also use it as a base class for gazelle.
Both have exactly the same methods but the implimentation of them are different.
Now, I want to make a 200 element array which holds the animals found on a
section of grassland.
How do I do this? How do I access the methods for the animals? I don't know if
grasslandAnimals[120] is a cheetah or a gazelle so I can't typecast it. I'm a
bit confused.