20 package net.sf.gridarta.action;
27 import org.jetbrains.annotations.NotNull;
43 if (mapCursor == null) {
void dragSelect(@NotNull final SelectionMode selectionMode, final boolean forceSelect)
Leave drag mode and select pre-selection using selectionMode.
MapCursor< G, A, R > getActiveMapCursor()
Return the map cursor of the current map view if it is active.
MapCursor provides methods to move and drag on map.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
GameObjects are the objects based on Archetypes found on maps.
final Point dragStart
Position where dragging has started.
boolean doSelection(final boolean performAction, @NotNull final SelectionMode mode)
Executes an action for changing the selection.
Abstract base class for actions that change the current selection.
Modes that describe how squares get selected.
Abstract base class for actions that have to track the current map cursor.
Interface for MapArchObjects.