Uses of Class
VASSAL.counters.Decorator
Packages that use Decorator
Package
Description
Provides classes for building Java instances automatically from XML
files.
Contains classes that may be added to a
GameModule.Provides classes that define game pieces.
-
Uses of Decorator in VASSAL.build
Methods in VASSAL.build with parameters of type Decorator -
Uses of Decorator in VASSAL.build.module
Methods in VASSAL.build.module that return DecoratorModifier and TypeMethodDescriptionBasicCommandEncoder.createDecorator(String type, GamePiece inner)BasicCommandEncoder.DecoratorFactory.createDecorator(String type, GamePiece inner) -
Uses of Decorator in VASSAL.counters
Subclasses of Decorator in VASSAL.countersModifier and TypeClassDescriptionclassA Trait (akaDecoratorthat acts like a button on a GamePiece, such that clicking on a particular area of the piece invokes a key commandclassclassConditional Marker A marker with a variable value depending on conditions.classThis trait adds a command that creates a duplicate of the selected GamepiececlassTrait that sends a Key Command to other pieces, selected with various filters.classThis trait adds a command that creates a duplicate of the selected GamepiececlassImplements a trait to allow a piece to be deselected from the KeyBuffer in response to a Key Command.classTrait that contains a property accessible via getProperty() and updatable dynamically via key commandsclassThe "Layer" trait.classEmbellishment has been extensively re-written for Vassal 3.2 changing both the behavior and the visual look of the configurer.classDisplays a movement trail indicating where a piece has been movedclassA Decorator that rotates a GamePiece to an arbitrary angleclassAdds a menu entry that fires a specified key event to the module window.classclassDecorator that filters events to prevent a GamePiece from being selected and/or moved.classDisplays a text label, with content specified by the user at runtime.classA generic Decorator that retains in its state the value of a property.classThis trait adds a command that creates a duplicate of the selected GamepiececlassA GamePiece with this trait will automatically be marked whenever it is moved.classA trait for assigning an arbitrary shape to aGamePiececlassclassProvides commands to pivot a Game Piece around a given pointclassThis Decorator defines a key command to places another counter on top of this one.classA trait that plays a sound clipclassA Decorator class that endows a GamePiece with a dialog.classGamePiece trait that replaces a GamePiece with another oneclassA 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)classRestrictCommands Restrict the availability of Key Commands, depending on a Property Match String.classA GamePiece with the Restricted trait can only be manipulated by the player playing a specific sideclassGamePiece trait that returns a piece to aDrawPileclassThis trait adds a command that sends a piece to another location.classclassA trait that groups menu items of other traits into a sub-menuclassA Decorator class that endows a GamePiece with an editable spreadsheet (i.e.classA trait to expose a translated string as a readable/displayable property.classGive a piece a command that moves it a fixed amount in a particular direction, optionally tracking the current rotation of the piece.classMacro Execute a series of Keystrokes against this same piece - Triggered by own KeyCommand or list of keystrokes - Match against an optional Property FilterclassThis trait is a placeholder for a pre-defined series of traits specified in aPrototypeDefinitionobject.Fields in VASSAL.counters declared as DecoratorMethods in VASSAL.counters that return DecoratorMethods in VASSAL.counters with parameters of type Decorator -
Uses of Decorator in VASSAL.script
Methods in VASSAL.script that return DecoratorModifier and TypeMethodDescriptionBshCommandEncoder.createDecorator(String type, GamePiece inner) -
Uses of Decorator in VASSAL.tools.imports.adc2
Methods in VASSAL.tools.imports.adc2 that return DecoratorModifier and TypeMethodDescriptionprotected DecoratorADC2Module.Piece.getHidden()ADC2Module.PieceClass.getHiddenDecorator()ADC2Module.PieceClass.getReplaceWithOtherDecorator()ADC2Module.PieceClass.getReplaceWithPreviousDecorator()