VASSAL Reference Manual

Home > Module > Game Piece Palette > Game Piece > Basic Piece

Basic Piece

The simplest game piece consists of an image and a name.  Select the image by double-clicking on the box to the left, or select an image that has already been added from the drop-down menu.




The following Properties are defined in a Basic Piece:
  • LocationName returns the name of the current location, as determined by the local grid
  • CurrentMap returns the name of the current Map Window
  • CurrentBoard returns the name of the current Board
  • CurrentZone returns the name of the current Zone
  • Selected returns true when the piece has been selected with the mouse