Package VASSAL.counters

Provides classes that define game pieces.

See:
          Description

Interface Summary
CounterNames  
DeckVisitor For Visitors that are aware of Deck types
EditablePiece If a GamePiece implements the EditablePiece interface, then it can be manipulated from the Configuration Tree via the PieceDefiner dialog.
GamePiece Basic class for representing a physical component of the game
Highlighter An interface that defines how to draw GamePieces that are selected
PieceEditor  
PieceFilter A filter for GamePieces
PieceFinder This interface defines selection criteria for finding a GamePiece in a Map
PieceVisitor For implementing a somewhat modified Visitor pattern for GamePieces.
Properties Defines the properties expected to be defined in each GamePiece
 

Class Summary
BasicPiece Basic class for representing a physical component of the game Can be a counter, a card, or an overlay
BoundsTracker Records the bounding boxes of GamePieces.
Clone This trait adds a command that creates a duplicate of the selected Gamepiece
Clone.Ed  
ColoredBorder  
Deck A collection of pieces that behaves like a deck, i.e.: Doesn't move.
DeckVisitorDispatcher For handling Visitors that are aware of Deck types
Decorator The abstract class describing a generic 'trait' of a GamePiece.
Delete This trait adds a command that creates a duplicate of the selected Gamepiece
Delete.Ed  
DragBuffer  
Embellishment The "Layer" trait.
FreeRotator A Decorator that rotates a GamePiece to an arbitrary angle
Hideable  
ImagePicker  
Immobilized  
KeyBuffer  
KeyCommand  
KeyCommandSubMenu Represents a sub-menu in a GamePiece's right-click drop-down menu
KeySpecifier  
Labeler Displays a text label, with content specified by the user at runtime
Marker A generic Decorator that retains in its state the value of a property.
MassPieceDefiner Edits an entire set of GamePieces at once
MovementMarkable A GamePiece with this trait will automatically be marked whenever it is moved.
MultiImagePicker  
NonRectangular A trait for assigning an arbitrary shape to a GamePiece
Obscurable  
PieceCloner Utility class for cloning GamePieces
PieceDefiner This is the GamePiece designer dialog.
PieceDefiner.Ed A Dialog for editing an EditablePiece's properties
PieceFinder.Movable  
PieceFinder.PieceInStack  
PieceFinder.StackOnly  
PieceImage Maintains an Image built from the GamePiece.draw(java.awt.Graphics, int, int, java.awt.Component, double) method of a GamePiece
PieceIterator An iterator for GamePieces.
PieceVisitorDispatcher For implementing a modified Visitor pattern on GamePieces.
PlaceMarker This Decorator defines a key command to places another counter on top of this one.
PlaceMarker.Ed  
PropertySheet A Decorator class that endows a GamePiece with a dialog.
Replace GamePiece trait that replaces a GamePiece with another one
Replace.Ed  
ReportState A GamePiece with this trait will echo the piece's current name when any of a given key commands are pressed (and after they take effect)
ReportState.Ed  
Restricted A GamePiece with the Restricted trait can only be manipulated by the player playing a specific side
Restricted.Ed  
ReturnToDeck GamePiece trait that returns a piece to a DrawPile
SendToLocation This traitadds a command that sends a piece to a particular location ona particular board of a particular Map.
SendToLocation.Ed  
SimplePieceEditor  
Stack A collection of GamePieces which can be moved as a single unit
SubMenu A trait that groups menu items of other traits into a sub-menu
SubMenu.Editor  
TableInfo A Decorator class that endows a GamePiece with an editable spreadsheet (i.e.
Transparent A class that draws a GamePiece with a specifyable level of transparency
UsePrototype This trait is a placeholder for a pre-defined series of traits specified in a PrototypeDefinition object.
UsePrototype.Editor  
 

Package VASSAL.counters Description

Provides classes that define game pieces.

See Also:
GamePiece, Decorator