 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.action;
27 import org.jetbrains.annotations.NotNull;
43 if (mapCursor ==
null) {
Base package of all Gridarta classes.
void dragSelect(@NotNull final SelectionMode selectionMode, final boolean forceSelect)
Leave drag mode and select pre-selection using selectionMode.
final Point dragStart
Position where dragging has started.
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.
Modes that describe how squares get selected.
MapCursor provides methods to move and drag on map.
Abstract base class for actions that have to track the current map cursor.
MapCursor< G, A, R > getActiveMapCursor()
Return the map cursor of the current map view if it is active.
Abstract base class for actions that change the current selection.