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 DecoratorBasicCommandEncoder. createDecorator(String type, GamePiece inner)Creates aDecoratorinstanceDecoratorBasicCommandEncoder.DecoratorFactory. createDecorator(String type, GamePiece inner) -
Uses of Decorator in VASSAL.counters
Subclasses of Decorator in VASSAL.counters Modifier and Type Class Description classActionButtonA trait that acts like a button on a GamePiece, such that clicking on a particular area of the piece invokes a keyboard commandclassAreaOfEffectclassCalculatedPropertyConditional Marker A marker with a variable value depending on conditions.classCloneThis trait adds a command that creates a duplicate of the selected GamepiececlassCounterGlobalKeyCommandAdds a menu item that applies aGlobalCommandto other piecesclassDeleteThis trait adds a command that creates a duplicate of the selected GamepiececlassDynamicPropertyTrait that contains a property accessible via getProperty() and updateable dynamically via key commandsclassEmbellishmentThe "Layer" trait.classEmbellishment0Embellishment has been extensively re-written for Vassal 3.2 changing both the behavior and the visual look of the configurer.classFootprintDisplays a movement trail indicating where a piece has been movedclassFreeRotatorA Decorator that rotates a GamePiece to an arbitrary angleclassGlobalHotKeyAdds a menu entry that fires a specified key event to the module window.classHideableclassImmobilizedDecorator that filters events to prevent a GamePiece from being selected and/or moved.classLabelerDisplays a text label, with content specified by the user at runtime.classMarkerA generic Decorator that retains in its state the value of a property.classMenuSeparatorThis trait adds a command that creates a duplicate of the selected GamepiececlassMovementMarkableA GamePiece with this trait will automatically be marked whenever it is moved.classNonRectangularA trait for assigning an arbitrary shape to aGamePiececlassObscurableclassPivotProvides commands to pivot a Game Piece around a given pointclassPlaceMarkerThis Decorator defines a key command to places another counter on top of this one.classPlaySoundA trait that plays a sound clipclassPropertySheetA Decorator class that endows a GamePiece with a dialog.classReplaceGamePiece trait that replaces a GamePiece with another oneclassReportStateA 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)classRestrictCommandsRestrictCommands Restrict the availability of Key Commands, depending on a Property Match String.classRestrictedA GamePiece with the Restricted trait can only be manipulated by the player playing a specific sideclassReturnToDeckGamePiece trait that returns a piece to aDrawPileclassSendToLocationThis trait adds a command that sends a piece to another location.classSetGlobalPropertyclassSubMenuA trait that groups menu items of other traits into a sub-menuclassTableInfoA Decorator class that endows a GamePiece with an editable spreadsheet (i.e.classTranslateGive a piece a command that moves it a fixed amount in a particular direction, optionally tracking the current rotation of the piece.classTriggerActionMacro Execute a series of Keystrokes against this same piece - Triggered by own KeyCommand or list of keystrokes - Match against an optional Property FilterclassUsePrototypeThis trait is a placeholder for a pre-defined series of traits specified in aPrototypeDefinitionobject.Fields in VASSAL.counters declared as Decorator Modifier and Type Field Description protected DecoratorSetGlobalProperty. decMethods in VASSAL.counters that return Decorator Modifier and Type Method Description DecoratorDecorator. getOuter() -
Uses of Decorator in VASSAL.script
Methods in VASSAL.script that return Decorator Modifier and Type Method Description DecoratorBshCommandEncoder. 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 DecoratorADC2Module.Piece. getHidden()DecoratorADC2Module.PieceClass. getHiddenDecorator()DecoratorADC2Module.PieceClass. getReplaceWithOtherDecorator()DecoratorADC2Module.PieceClass. getReplaceWithPreviousDecorator()