Let's say I have many boolean variables (I am attempting to make text based adventure game and I am going to need the path to diverge depending on the selected choices), is there a simple way to check if a given string is equal to a name of a initialized variable or a member of a initialized struct? (So that I can change the variable from false to true, for example?)
Aucun commentaire:
Enregistrer un commentaire