Class GamePiece

java.lang.Object
VASSAL.script.proxy.GamePiece
Direct Known Subclasses:
Stack

public class GamePiece extends Object
BeanShell proxy for the Vassal GamePiece object BeanShell proxies control access to Vassal components and expose a consistent API to BeanShell Scripts. PLEASE NOTE New methods may be added, but DO NOT remove or change the call signature of any existing methods
  • Constructor Details

    • GamePiece

      public GamePiece(GamePiece g)
  • Method Details

    • setVassalGamePiece

      protected void setVassalGamePiece(GamePiece g)
    • getName

      public String getName()
    • getProperty

      public Object getProperty(String key)
    • getMap

      public Map getMap()
    • getPosition

      public Point getPosition()
    • getParent

      public Stack getParent()