20 package net.sf.gridarta.action;
22 import javax.swing.Action;
29 import net.
sf.japi.swing.action.ActionMethod;
30 import org.jetbrains.annotations.NotNull;
31 import org.jetbrains.annotations.Nullable;
61 public void setAction(@NotNull
final Action action, @NotNull
final String name) {
MapCursor< G, A, R > getActiveMapCursor()
Return the map cursor of the current map view if it is active.
boolean isAutojoin()
Returns whether "autojoin" is enabled.
final MapViewSettings mapViewSettings
The MapViewSettings for querying options.
MapCursor provides methods to move and drag on map.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
An EditorAction that deletes the currently selected game object.
Container for settings that affect the rendering of maps.
GameObjects are the objects based on Archetypes found on maps.
boolean doDeleteArch(final boolean performAction)
Executes the "delete arch" action.
DeleteArchAction(@NotNull final MapViewSettings mapViewSettings)
Creates a new instance.
boolean deleteSelectedGameObject(final boolean performAction, final boolean autoJoin)
Deletes the selected game object.
Action action
The Action associated with this editor action.
Abstract base class for actions that have to track the current map cursor.
void deleteArch()
Action method for "delete arch".
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.
Interface for MapArchObjects.