This is a very hypothetical question.
How would I go about creating different stages for a gameobject?
Let’s say I have an entity. This entitycan only be in 3 different stages.
Let’s say: Thriving, Content and Dying.
What would be the best way codewise to store this condition in and also be able to make the entity change its state depending on certain prerequisites?
I could just do a bunch of else statements, but wouldn’t it be messy?