i need to add functions to override.



I want to make Koopa by inheriting from Goomba. But I did the operations in the images I posted in the third person character. But since I created the chill class from Goomba, I actually had to do it in Goomba. Don’t I need to do these operations in Goomba in order to override the functions?

i only have these functions in goomba


What functions should I add to Goomba? From what I did in third person character. I need to make special mechanics for Koopa. Can you help me so that it retreats into its shell when stepped on and kills enemies after hitting it, etc. its mario game btw.