I have something like this:
String currentRoom = "NameOfRoom";
static room NameOfRoom = new room();
And I want to activate a function that is inside the room by accessing it through the variable currentRoom
.
Is it possible?
Thanks in advance, Ethan