VASSAL.counters
Interface EditablePiece
- All Superinterfaces:
- GamePiece
- All Known Implementing Classes:
- Immobilized, Restricted, Marker, Embellishment, Obscurable, PropertySheet, FreeRotator, ReportState, Labeler, ReturnToDeck, MovementMarkable, SendToLocation, BasicPiece, UsePrototype, NonRectangular, TableInfo, PlaceMarker, Hideable
- public interface EditablePiece
- extends GamePiece
If a GamePiece implements the EditablePiece interface, then
it can be manipulated from the Configuration Tree via the PieceDefiner
dialog.
All Decorator classes with a no-arg constructor will appear in the
Available Traits list even if they don't implement EditablePiece
| Methods inherited from interface VASSAL.counters.GamePiece |
boundingBox, draw, getId, getMap, getName, getParent, getPosition, getProperty, getShape, getState, getType, keyEvent, setId, setMap, setParent, setPosition, setProperty, setState |
getDescription
public java.lang.String getDescription()
- A plain-English description of this type of piece
mySetType
public void mySetType(java.lang.String type)
- Set the type information for this piece. See
Decorator.myGetType()
getEditor
public PieceEditor getEditor()
- Get the configurer for this trait
getHelpFile
public HelpFile getHelpFile()