Class G2DTextureManager.G2DTexture

    • Constructor Detail

      • G2DTexture

        public G2DTexture()
        Default constructor.
    • Method Detail

      • dispose

        public void dispose()
      • setDrawer

        public void setDrawer​(TextureDrawer drawer)
        Description copied from interface: Texture
        Set the texture data provider as a drawn texture data provider.
        Specified by:
        setDrawer in interface Texture
        Overrides:
        setDrawer in class AbstractTexture
        Parameters:
        drawer - the given texture drawer.
      • getImage

        public java.awt.image.BufferedImage getImage()