summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/tabletop/Assets.java
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2018-10-03 16:29:04 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2018-10-03 16:29:04 +0200
commit2f1bec6890815033211fde71e645c5a57e502a20 (patch)
treea83756b4df61e729fdbdf495c19423dc7799e269 /core/src/ch/asynk/gdx/tabletop/Assets.java
parent977ce8e5a8f967f2ad9acc634111231e3af9ef7a (diff)
downloadgdx-boardgame-2f1bec6890815033211fde71e645c5a57e502a20.zip
gdx-boardgame-2f1bec6890815033211fde71e645c5a57e502a20.tar.gz
tabletop -> boardgame
Diffstat (limited to 'core/src/ch/asynk/gdx/tabletop/Assets.java')
-rw-r--r--core/src/ch/asynk/gdx/tabletop/Assets.java30
1 files changed, 0 insertions, 30 deletions
diff --git a/core/src/ch/asynk/gdx/tabletop/Assets.java b/core/src/ch/asynk/gdx/tabletop/Assets.java
deleted file mode 100644
index 4b4382d..0000000
--- a/core/src/ch/asynk/gdx/tabletop/Assets.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package ch.asynk.gdx.tabletop;
-
-import com.badlogic.gdx.assets.AssetManager;
-import com.badlogic.gdx.graphics.Texture;
-import com.badlogic.gdx.graphics.g2d.BitmapFont;
-import com.badlogic.gdx.graphics.g2d.NinePatch;
-import com.badlogic.gdx.graphics.g2d.TextureAtlas;
-
-public class Assets extends AssetManager
-{
- public Texture getTexture(String assetName)
- {
- return get(assetName, Texture.class);
- }
-
- public NinePatch getNinePatch(String assetName, int left, int right, int top, int bottom)
- {
- return new NinePatch(get(assetName, Texture.class), left, right, top, bottom);
- }
-
- public TextureAtlas getAtlas(String assetName)
- {
- return get(assetName, TextureAtlas.class);
- }
-
- public BitmapFont getFont(String assetName)
- {
- return get(assetName, BitmapFont.class);
- }
-}