Class TokenData

java.lang.Object
de.rpgframework.foundry.TokenData

public class TokenData extends Object
  • Field Details

    • name

      public String name
      The name used to describe the Token
    • displayName

      public int displayName
      The display mode of the Token nameplate, from CONST.TOKEN_DISPLAY_MODES
    • img

      public String img
      A file path to an image or video file used to depict the Token
    • width

      public int width
      The width of the Token in grid units
    • height

      public int height
    • scale

      public int scale
    • mirrorX

      public boolean mirrorX
    • mirrorY

      public boolean mirrorY
    • lockRotation

      public boolean lockRotation
    • rotation

      public int rotation
    • effects

      public List<Object> effects
      An array of effect icon paths which are displayed on the Token
    • overlayEffect

      public String overlayEffect
      A single icon path which is displayed as an overlay on the Token
    • alpha

      public float alpha
      A single icon path which is displayed as an overlay on the Token
    • hidden

      public boolean hidden
    • vision

      public boolean vision
      Is this Token a source of vision?
    • dimSight

      public int dimSight
    • brightSight

      public int brightSight
    • dimLight

      public int dimLight
    • brightLight

      public int brightLight
    • sightAngle

      public float sightAngle
    • lightAngle

      public float lightAngle
    • lightAlpha

      public float lightAlpha
    • lightAnimation

      public TokenData.LightAnimation lightAnimation
    • disposition

      public int disposition
    • displayBars

      public int displayBars
    • bar1

    • bar2

    • flags

      public List<?> flags
    • randomImg

      public boolean randomImg
  • Constructor Details

    • TokenData

      public TokenData()