I am working on a game where the player can move through a house and I have it so each room is a different state. Is this an acceptable way to do this? Are there any better ways to do this? Because I also encountered an issue where the player is in Room A and when they try to enter Room B after visiting it once, they will loop back to Room A.
Thank you for your time!