Uses of Class
VASSAL.counters.Decorator
Package | Description |
---|---|
VASSAL.build.module |
Contains classes that may be added to a
GameModule . |
VASSAL.counters |
Provides classes that define game pieces.
|
VASSAL.script | |
VASSAL.tools.imports.adc2 |
-
Uses of Decorator in VASSAL.build.module
Methods in VASSAL.build.module that return Decorator Modifier and Type Method Description Decorator
BasicCommandEncoder. createDecorator(String type, GamePiece inner)
Creates aDecorator
instanceDecorator
BasicCommandEncoder.DecoratorFactory. createDecorator(String type, GamePiece inner)
-
Uses of Decorator in VASSAL.counters
Subclasses of Decorator in VASSAL.counters Modifier and Type Class Description class
ActionButton
A trait that acts like a button on a GamePiece, such that clicking on a particular area of the piece invokes a keyboard commandclass
AreaOfEffect
class
CalculatedProperty
Conditional Marker A marker with a variable value depending on conditions.class
Clone
This trait adds a command that creates a duplicate of the selected Gamepiececlass
CounterGlobalKeyCommand
Adds a menu item that applies aGlobalCommand
to other piecesclass
Delete
This trait adds a command that creates a duplicate of the selected Gamepiececlass
DynamicProperty
Trait that contains a property accessible via getProperty() and updateable dynamically via key commandsclass
Embellishment
The "Layer" trait.class
Embellishment0
Embellishment has been extensively re-written for Vassal 3.2 changing both the behavior and the visual look of the configurer.class
Footprint
Displays a movement trail indicating where a piece has been movedclass
FreeRotator
A Decorator that rotates a GamePiece to an arbitrary angleclass
GlobalHotKey
Adds a menu entry that fires a specified key event to the module window.class
Hideable
class
Immobilized
Decorator that filters events to prevent a GamePiece from being selected and/or moved.class
Labeler
Displays a text label, with content specified by the user at runtime.class
Marker
A generic Decorator that retains in its state the value of a property.class
MenuSeparator
This trait adds a command that creates a duplicate of the selected Gamepiececlass
MovementMarkable
A GamePiece with this trait will automatically be marked whenever it is moved.class
NonRectangular
A trait for assigning an arbitrary shape to aGamePiece
class
Obscurable
class
Pivot
Provides commands to pivot a Game Piece around a given pointclass
PlaceMarker
This Decorator defines a key command to places another counter on top of this one.class
PlaySound
A trait that plays a sound clipclass
PropertySheet
A Decorator class that endows a GamePiece with a dialog.class
Replace
GamePiece trait that replaces a GamePiece with another oneclass
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)class
RestrictCommands
RestrictCommands Restrict the availability of Key Commands, depending on a Property Match String.class
Restricted
A GamePiece with the Restricted trait can only be manipulated by the player playing a specific sideclass
ReturnToDeck
GamePiece trait that returns a piece to aDrawPile
class
SendToLocation
This trait adds a command that sends a piece to another location.class
SetGlobalProperty
class
SubMenu
A trait that groups menu items of other traits into a sub-menuclass
TableInfo
A Decorator class that endows a GamePiece with an editable spreadsheet (i.e.class
Translate
Give a piece a command that moves it a fixed amount in a particular direction, optionally tracking the current rotation of the piece.class
TriggerAction
Macro Execute a series of Keystrokes against this same piece - Triggered by own KeyCommand or list of keystrokes - Match against an optional Property Filterclass
UsePrototype
This trait is a placeholder for a pre-defined series of traits specified in aPrototypeDefinition
object.Fields in VASSAL.counters declared as Decorator Modifier and Type Field Description protected Decorator
SetGlobalProperty. dec
Methods in VASSAL.counters that return Decorator Modifier and Type Method Description Decorator
Decorator. getOuter()
-
Uses of Decorator in VASSAL.script
Methods in VASSAL.script that return Decorator Modifier and Type Method Description Decorator
BshCommandEncoder. createDecorator(String type, GamePiece inner)
-
Uses of Decorator in VASSAL.tools.imports.adc2
Methods in VASSAL.tools.imports.adc2 that return Decorator Modifier and Type Method Description protected Decorator
ADC2Module.Piece. getHidden()
Decorator
ADC2Module.PieceClass. getHiddenDecorator()
Decorator
ADC2Module.PieceClass. getReplaceWithOtherDecorator()
Decorator
ADC2Module.PieceClass. getReplaceWithPreviousDecorator()