Class SentryAction

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

    public class SentryAction
    extends UnitAction
    An action to set sentry state to the active unit.
    See Also:
    Serialized Form
    • Constructor Detail

      • SentryAction

        public SentryAction​(FreeColClient freeColClient)
        Creates this action.
        Parameters:
        freeColClient - The FreeColClient for the game.
    • Method Detail

      • actionPerformed

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