public boolean processCommand(Command command) 
    {
       boolean wantToQuit = false;  
       if(command.isUnknown()) {
           System.out.println("I don't know what you mean...");
           return false;
       }
       // Given one of these commands, do the following
       String commandWord = command.getCommandWord();
       if (commandWord.equals("help")) {
           printHelp();
       }
       else if (commandWord.equals("wormhole")) {
           getWormhole();
       }            
       else if (commandWord.equals("go")) {
           goRoom(command);
       }
       else if (commandWord.equals("look")) {
           System.out.println(currentRoom.getRoomItemDescription());
       }
       else if (commandWord.equals("examine")) {
           System.out.println(currentRoom.getRoomItemDetails());
           getNextPlace();
       }         
       else if (commandWord.equals("quit")) {
           wantToQuit = quit(command);
       }
       // else command not recognized.
       return wantToQuit;
   }