Example #1
0
 private static void loadRoom() {
   currentRoom = roomsTable.get(CartesianPoint.keyCreator());
   if (!(currentRoom instanceof Room)) {
     currentRoom = xml.loadRoom();
     roomsTable.put(CartesianPoint.keyCreator(), currentRoom);
   }
   GameGUI.addToConsole(currentRoom.getFullRoomDescription());
 }