Hi,
I am working on the World of Zuul game. My question is about these three classes: Room, Inventory and Game. The game class uses an instance of Room called currentRoom. In Inventory Class, I want to write a method to check if a certain item is present in the currentRoom. The thing is that currentRoom is defined in Game, is there a way to use the same instance "currentRoom" in Inventory without having to create an instance of Game in Inventory (which I think is not a good practice as Game is the main class)
Thanks!