private boolean processCommand(Command command) { switch (command.getCommandWord()) { case "quit": System.out.println("Thank you for playing!"); return false; case "help": System.out.println(words.getCommands()); return true; case "place": return place(command); } return true; }