Create a new instance of the Thing base object in our Database and give it the Fighter script. This will be the base Fighter object we'll use for non-player fighters.
Since we want the Player to inherit Fighter, we also need to modify its script so it extends res://things/Fighter.gd. Player will extend Fighter, which extends Thing, so our player will have the capabilities of all three classes.
Create a new instance of the Thing base object in our Database and give it the Fighter script. This will be the base Fighter object we'll use for non-player fighters.
Since we want the Player to inherit Fighter, we also need to modify its script so it
extends res://things/Fighter.gd
. Player will extend Fighter, which extends Thing, so our player will have the capabilities of all three classes.