Posted by Nathan on April 19, 2001 at 21:22:34:
In Reply to: Re: Inheritance and polymorphism posted by Graham Smith on April 19, 2001 at 20:53:44:
See I tried that, and but for some reason it just doesn't call the grendel class view function. Lets say I iterate through on the AnimalList (a list of type Lifeform) and I have found the correct grendel
that calls my inlined Animal virtual view funtion, but the subsequent grendel class virtual view is not called... I can print them out from the Animal view, which works fine so I know the data is being stored, but that doesn't help me much b/c the Tick command has to get down into the grendel class...
Post a Followup