summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/zproject/engine/Assets.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/zproject/engine/Assets.java')
-rw-r--r--core/src/ch/asynk/zproject/engine/Assets.java30
1 files changed, 0 insertions, 30 deletions
diff --git a/core/src/ch/asynk/zproject/engine/Assets.java b/core/src/ch/asynk/zproject/engine/Assets.java
deleted file mode 100644
index c421aff..0000000
--- a/core/src/ch/asynk/zproject/engine/Assets.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package ch.asynk.gdx.board.engine;
-
-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);
- }
-}