I have created a new class for the player such as "PlayerStats".
the player class inherits from this class so we didn't need to change the code to add some extra functions top the player like
attack or health and we can keep adding things. please check it out. Probably we will use it in the FSM.
I have created a new class for the player such as "PlayerStats". the player class inherits from this class so we didn't need to change the code to add some extra functions top the player like attack or health and we can keep adding things. please check it out. Probably we will use it in the FSM.