/** Quit Response */
public class Quitter implements Response
{
    /**
     * "quit" was entered. Check the rest of the command to see
     * whether we really quit the game.
     * @return true, if this command quits the game, false otherwise.
     */
    public boolean execute(String[] tokens)
    {
        return UI.agree("Do you really want to quit? ");
    }

    public String getCommandName()
    {
        return "quit";
    }

    public String help()
    {
        return "Enter\n    quit\nto quit the game.";
    }

    public Quitter() { } // no state, but must be Object



}
