diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-11-15 14:37:26 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-11-15 14:37:26 +0100 |
commit | 4a8646dbe1e429e1abd5c5e11cf14522a4561a7a (patch) | |
tree | 2783b36208d41faffe3fc35bd2ab24b2a42ca7f9 /core/src | |
parent | 9837bd4294a4d53e7fe85557a0921cc9cb90cdd3 (diff) | |
download | gdx-boardgame-4a8646dbe1e429e1abd5c5e11cf14522a4561a7a.zip gdx-boardgame-4a8646dbe1e429e1abd5c5e11cf14522a4561a7a.tar.gz |
FramedSprite : do not call dispose() on Texture
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/FramedSprite.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/FramedSprite.java b/core/src/ch/asynk/gdx/boardgame/FramedSprite.java index 027efb6..33ca5ce 100644 --- a/core/src/ch/asynk/gdx/boardgame/FramedSprite.java +++ b/core/src/ch/asynk/gdx/boardgame/FramedSprite.java @@ -1,10 +1,9 @@ package ch.asynk.gdx.boardgame; -import com.badlogic.gdx.utils.Disposable; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.TextureRegion; -public class FramedSprite implements Disposable +public class FramedSprite { public Texture texture; public TextureRegion[] frames; @@ -29,9 +28,4 @@ public class FramedSprite implements Disposable } } } - - @Override public void dispose() - { - texture.dispose(); - } } |