#new to OOP calling a parent class function from child class explained

1 messages · Page 1 of 1 (latest)

bleak slate
#

I'm new to OOP right now the miniGameGui class has a countdown function that counts from 3 to 1. after the countdown I wanted miniGameGui to play a function called "startGame" in the parent class drinkSelectionTask. I want to know if this the correct optimal way to by passing drinkSelectionTask/self as a variable and if so how to send self as a varible

#

passing self as a variable doesn't work right now

floral shell
#

ofcourse it's not

#

self isnt defined yet

bleak slate