public final class ImageWithDef
extends java.lang.Object
implements com.badlogic.gdx.utils.Disposable
ImageDefinition).| Constructor and Description |
|---|
ImageWithDef(com.badlogic.gdx.graphics.Pixmap pixmap,
nl.weeaboo.vn.image.desc.IImageDefinition def) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
nl.weeaboo.vn.impl.image.desc.ImageDefinition |
getDef()
Returns the image definition.
|
com.badlogic.gdx.graphics.Pixmap |
getPixmap()
Returns the pixmap.
|
public ImageWithDef(com.badlogic.gdx.graphics.Pixmap pixmap,
nl.weeaboo.vn.image.desc.IImageDefinition def)
public void dispose()
dispose in interface com.badlogic.gdx.utils.Disposablepublic com.badlogic.gdx.graphics.Pixmap getPixmap()
java.lang.IllegalStateException - If this object is disposed.public nl.weeaboo.vn.impl.image.desc.ImageDefinition getDef()
java.lang.IllegalStateException - If this object is disposed.