 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.action;
22 import javax.swing.Action;
28 import net.
sf.japi.swing.action.ActionMethod;
29 import org.jetbrains.annotations.NotNull;
30 import org.jetbrains.annotations.Nullable;
Base package of all Gridarta classes.
Action action
The Action associated with this editor action.
Reflects a game object (object on a map).
GameObjects are the objects based on Archetypes found on maps.
boolean doSelection(final boolean performAction, @NotNull final SelectionMode mode)
Executes an action for changing the selection.
Interface for MapArchObjects.
boolean doAddToSelection(final boolean performAction)
Executes the action.
Modes that describe how squares get selected.
An EditorAction that adds the current pre-selection to the selection.
ADD
All squares that are preselected get selected.
Abstract base class for actions that change the current selection.
void addToSelection()
Adds the current pre-selection to the selection.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.