Uses of Class
VASSAL.counters.Stack
Package | Description |
---|---|
VASSAL.build.module |
Contains classes that may be added to a
GameModule . |
VASSAL.build.module.map |
Contains classes that may be added to a
Map . |
VASSAL.counters |
Provides classes that define game pieces.
|
VASSAL.script.proxy |
-
Uses of Stack in VASSAL.build.module
Methods in VASSAL.build.module with parameters of type Stack Modifier and Type Method Description Object
Map.Merger. visitStack(Stack s)
-
Uses of Stack in VASSAL.build.module.map
Methods in VASSAL.build.module.map that return Stack Modifier and Type Method Description protected Stack
SetupStack. createStack()
Stack
StackMetrics. createStack(GamePiece p)
Stack
StackMetrics. createStack(GamePiece p, boolean force)
protected Stack
DrawPile. initializeContents()
protected Stack
SetupStack. initializeContents()
Methods in VASSAL.build.module.map with parameters of type Stack Modifier and Type Method Description protected boolean
CompoundPieceCollection. canStackAndPieceMerge(Stack s, GamePiece p)
protected boolean
CompoundPieceCollection. canStacksMerge(Stack s1, Stack s2)
void
HandMetrics. draw(Stack stack, Graphics g, int x, int y, Component obs, double zoom)
void
HandMetrics. draw(Stack stack, Point location, Graphics g, Map map, double zoom, Rectangle visibleRect)
void
StackMetrics. draw(Stack stack, Graphics g, int x, int y, Component obs, double zoom)
Different instances of StackMetrics may render aStack
in different ways.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.int
StackMetrics. getContents(Stack parent, Point[] positions, Shape[] shapes, Rectangle[] boundingBoxes, int x, int y)
Fill the argument arrays with the positions, selection bounds and bounding boxes of the pieces in the argument stackPoint
StackMetrics. relativePosition(Stack parent, GamePiece c)
Object
CounterDetailViewer.Visitor. visitStack(Stack s)
Object
KeyBufferer.KBDeckVisitor. visitStack(Stack s)
Object
LayeredPieceCollection.Collection. visitStack(Stack s)
Object
PieceRecenterer. visitStack(Stack s)
ImplementsDeckVisitor
. -
Uses of Stack in VASSAL.counters
Subclasses of Stack in VASSAL.counters Modifier and Type Class Description class
Deck
A collection of pieces that behaves like a deck, i.e.: Doesn't move.Methods in VASSAL.counters that return Stack Modifier and Type Method Description Stack
BasicPiece. getParent()
Stack
Decorator. getParent()
Stack
GamePiece. getParent()
Stack
Stack. getParent()
Methods in VASSAL.counters with parameters of type Stack Modifier and Type Method Description boolean
DragBuffer. containsAllMembers(Stack s)
boolean
KeyBuffer. containsChild(Stack stack)
void
BasicPiece. setParent(Stack s)
void
Decorator. setParent(Stack s)
void
GamePiece. setParent(Stack s)
void
Stack. setParent(Stack s)
Object
GlobalCommand.Visitor. visitStack(Stack s)
Object
PieceFinder.Movable. visitStack(Stack s)
Object
PieceFinder.PieceInStack. visitStack(Stack s)
Object
PieceFinder.StackOnly. visitStack(Stack s)
Object
PieceVisitor. visitStack(Stack s)
Perform the operation on a Stack -
Uses of Stack in VASSAL.script.proxy
Constructors in VASSAL.script.proxy with parameters of type Stack Constructor Description Stack(Stack s)