I just want to know if there is a way i can create a subclass from the actor class then make another subclass underneath the one i just made.
ex: Actor
hero
warrior
priest
i want to get the code from the hero class because i was hoping to create multiple classes underneath it. and all of them should have the move code. It just seem insufficient having to copy and paste every code that needs to be in the heroes.
To summarise it, is there a way i can get code from "hero" and use it in "warrior" and "priest" without having to copy and paste the same code

