Class GotoAction

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

    public class GotoAction
    extends UnitAction
    An action for making a unit move to a specific location. This action first displays a panel from which the player can choose a location the unit should move towards.
    See Also:
    Serialized Form
    • Constructor Detail

      • GotoAction

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

      • actionPerformed

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