Class AbstractSelectionAction<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • Constructor Detail

      • AbstractSelectionAction

        public AbstractSelectionAction()
    • Method Detail

      • doSelection

        protected boolean doSelection​(boolean performAction,
                                      @NotNull
                                      @NotNull SelectionMode mode)
        Executes an action for changing the selection.
        Parameters:
        performAction - whether the action should be performed
        mode - the type of action to perform
        Returns:
        whether the action was or can be performed