Uses of Class
VASSAL.build.module.Map
Package
Description
Contains classes that may be added to a
GameModule
.Contains classes that may be added to a
Map
.Contains classes that may be added to a
BoardPicker
.Contains classes that may be added to a
Board
.Contains classes that may be added to a
MapGrid
.Contains classes that can be added to a
Widget
.Provides classes that implement the "Command" design pattern.
Provides classes that define game pieces.
-
Uses of Map in VASSAL.build.module
Modifier and TypeClassDescriptionclass
class
A Map that may be configured to be visible only a particular side.Modifier and TypeFieldDescriptionstatic Map
Map.activeMap
protected Map
Map.View.map
protected Map
PrivateMap.surrogate
Modifier and TypeMethodDescriptionMap.View.getMap()
returns the map we're assigned tostatic Map
Map.getMapById(String id)
Find the map that corresponds to a known unique idModifier and TypeMethodDescriptionMap.getAllMaps()
Deprecated, for removal: This API element is subject to removal in a future version.Map.getMapList()
Utility method to return aList
of all map components (on all maps!) in the module.Modifier and TypeMethodDescriptionstatic void
Map.setActiveMap(Map m)
Marks an ActiveMap for certain drag and drop operations, so that the map can be repainted when the operation is complete. -
Uses of Map in VASSAL.build.module.map
Modifier and TypeFieldDescriptionprotected Map
BoardPicker.map
protected Map
CounterDetailViewer.map
protected Map
GlobalMap.map
protected Map
HidePiecesButton.map
protected Map
ImageSaver.map
protected Map
KeyBufferer.map
protected Map
LayeredPieceCollection.map
protected Map
LOS_Thread.map
protected Map
MapShader.map
protected Map
MassKeyCommand.map
protected Map
MenuDisplayer.map
protected Map
PieceMover.map
protected Map
PieceRecenterer.map
protected Map
SelectionHighlighters.map
protected Map
SetupStack.map
protected Map
StackExpander.map
protected Map
StackMetrics.map
protected Map
TextSaver.map
protected Map
Zoomer.map
Modifier and TypeFieldDescriptionprotected static Map<Map,HighlightLastMoved>
HighlightLastMoved.instances
Modifier and TypeMethodDescriptionDrawPile.getMap()
Flare.getMap()
LayerControl.getMap()
LayeredPieceCollection.getMap()
protected Map
MapShader.getMap()
Modifier and TypeMethodDescriptionvoid
void
void
Draw the Flare at current animation framevoid
void
HandMetrics.draw(Stack stack, Point location, Graphics g, Map map, double zoom, Rectangle visibleRect)
void
void
void
Draws our current selection boxvoid
void
void
StackMetrics.draw(Stack stack, Point location, Graphics g, Map map, double zoom, Rectangle visibleRect)
Draw only those pieces in the target stack whose boundingBoxes fall within the given visibleRect This method is considerably faster than the other draw method.protected String
MovementReporter.getLocation(Map map, Point p)
protected String
MovementReporter.HiddenMovementReporter.getLocation(Map map, Point p)
protected Area
MapShader.getShadeShape(Map map)
Get/Build the shape of the shade.PieceMover.movePieces(Map map, Point p)
This is the key method for handling the "Drop" part of Drag and Drop.Returns a Command that moves all pieces so that their centroid is centered on the map.ModifierConstructorDescriptionImageSaver(Map m)
Visitor(CounterDetailViewer.Filter filter, Map map, Point pt)
Deprecated, for removal: This API element is subject to removal in a future version.Visitor(CounterDetailViewer.Filter filter, Map map, Point pt, boolean showOverlap)
-
Uses of Map in VASSAL.build.module.map.boardPicker
-
Uses of Map in VASSAL.build.module.map.boardPicker.board
-
Uses of Map in VASSAL.build.module.map.boardPicker.board.mapgrid
-
Uses of Map in VASSAL.build.widget
-
Uses of Map in VASSAL.command
Modifier and TypeMethodDescriptionprotected PieceVisitorDispatcher
MovePiece.createMergeFinder(Map map, GamePiece p, Point pt)
Creates a newPieceVisitorDispatcher
that will create aCommand
object to merge the target piece with any applicable pieces at the target location -
Uses of Map in VASSAL.counters
Modifier and TypeFieldDescriptionprotected Map
PieceFinder.Movable.map
protected Map
Stack.map
protected Map
FreeRotator.startMap
Modifier and TypeMethodDescriptionDragBuffer.getFromMap()
BasicPiece.getMap()
Decorator.getMap()
GamePiece.getMap()
Stack.getMap()
Modifier and TypeMethodDescriptionvoid
GlobalCommand.apply(Map[] maps, PieceFilter filter)
(Legacy - applies GKC without Fast Match)GlobalCommand.apply(Map[] maps, PieceFilter filter, GlobalCommandTarget fastMatch)
Apply the key command to all pieces that pass the given filter & our Fast MatchGlobalCommandTarget
parameters on all the given mapsGlobalCommand.apply(Map map, PieceFilter filter)
(Legacy - applies GKC without Fast Match)GlobalCommand.apply(Map map, PieceFilter filter, GlobalCommandTarget fastMatch)
Apply the key command on ONE SPECIFIC MAP to all pieces that pass the given filter and our Fast Match parameters.void
Stack.getStackMetrics(Map m)
StackMetrics
encapsulate information on how to draw expanded/unexpanded views of stacks.void
Return the argument GamePiece (or one of its children if a Stack) found at the given point on the given Mapvoid
void
void
Sets the Map this Deck appears onvoid
void
void
ModifierConstructorDescriptionMapMouseListener(Map map)
RangeFilter(Map map, Point location, int range)
-
Uses of Map in VASSAL.script
Modifier and TypeMethodDescriptionprotected boolean
AbstractInterpreter.isAccessible(Map m)
Is a map accessible to us? -
Uses of Map in VASSAL.script.proxy
-
Uses of Map in VASSAL.tools.imports
getMapList()
instead.