I\'m designing a text-based adventure game for a school progress. I have each \"level\" set up as a class, and each explorable area (node) as a method within the appropriate
Just have your nodes be objects that all adhere to the same interface, then you'll be able to call their methods reliably.