# Inheritance Confusing

**URL:** <https://forum.kirupa.com/t/inheritance-confusing/329788>\
**Category:** flash\
**Created:** [October 16, 2012, 3:09am UTC](https://forum.kirupa.com/t/inheritance-confusing/329788 "2012-10-16T03:09:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ragnoroct](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@Ragnoroct](https://forum.kirupa.com/u/Ragnoroct)\
**Post date:** [October 16, 2012, 3:09am UTC](https://forum.kirupa.com/t/inheritance-confusing/329788/1 "2012-10-16T03:09:42Z")

</div>

3 classes,  
Vehicle  
SteeredVehicle  
Zombie

Inheritance goes like this

Zombie ----\>SteeredVehicle-----\>Vehicle

The SteeredVehicle has the real meat in methods and properties. In another class(let’s say ZombieHandler) I try to run one of the functions of the zombie object(that is located in the steeredvehicle class) so I say

zombie.runSteeredVehicleMethod();

Nothing happens.(runSteeredVehicleMethod is public just to let you know)

I’m trying to make it so that I can have more than just one type of steeredvehicle.

Thanks
