Class SaveAndQuitAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, ObjectWithId, Option<FreeColAction>

    public class SaveAndQuitAction
    extends FreeColAction
    An action for prompting the user to save before quitting the game.
    See Also:
    Serialized Form
    • Constructor Detail

      • SaveAndQuitAction

        public SaveAndQuitAction​(FreeColClient freeColClient)
        Creates a new SaveAndQuitAction.
        Parameters:
        freeColClient - The main controller object for the client.
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent ae)