 |
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.
FLIP
All squares that are preselected change state of selection.
Reflects a game object (object on a map).
GameObjects are the objects based on Archetypes found on maps.
An EditorAction that toggles the current pre-selection in the selection.
boolean doSelection(final boolean performAction, @NotNull final SelectionMode mode)
Executes an action for changing the selection.
Interface for MapArchObjects.
Modes that describe how squares get selected.
void selectSquare()
Toggles the current pre-selection in the selection.
Abstract base class for actions that change the current selection.
Action action
The Action associated with this editor action.
boolean doSelectSquare(final boolean performAction)
Executes the action.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.