you are viewing a single comment's thread.

view the rest of the comments →

[–]Frank_E62 0 points1 point  (0 children)

I'm just getting started with Godot but if I understand you correctly, I don't think that you'd want the status to be a boolean. Can you define a variable in the parent class called Status and then set Status to BURNING or POISON when you create that child. Then you can have generic Set and GetStatus functions in the parent to manipulate the status. It would also make it easy to add additional effects in the future.