Class ViewPortDrawImageEvent


  • public final class ViewPortDrawImageEvent
    extends ViewPortTileBaseEvent
    Fire this event to draw an image on the tile grid, also relative to a composite entity (including animations)
    • Method Detail

      • getResourceModName

        public String getResourceModName()
      • setResourceModName

        public void setResourceModName​(String resourceModName)
      • getResourceName

        public String getResourceName()
      • setResourceName

        public void setResourceName​(String resourceName)
      • getData

        public byte[] getData()
      • setData

        public void setData​(byte[] data)
      • getTransparency

        public float getTransparency()
      • setTransparency

        public void setTransparency​(float transparency)
      • isScaleToTileSize

        public boolean isScaleToTileSize()
      • setScaleToTileSize

        public void setScaleToTileSize​(boolean scaleToTileSize)
      • getScaleTileFactor

        public double getScaleTileFactor()
      • setScaleTileFactor

        public void setScaleTileFactor​(double scaleTileFactor)