diff options
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Assets.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Assets.java b/core/src/ch/asynk/gdx/boardgame/Assets.java index 3402430..d065d76 100644 --- a/core/src/ch/asynk/gdx/boardgame/Assets.java +++ b/core/src/ch/asynk/gdx/boardgame/Assets.java @@ -1,5 +1,6 @@ package ch.asynk.gdx.boardgame; +import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.assets.AssetManager; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.BitmapFont; @@ -27,4 +28,9 @@ public class Assets extends AssetManager { return get(assetName, BitmapFont.class); } + + public Sound getSound(String assetName) + { + return get(assetName, Sound.class); + } } |