Package com.csse3200.game.screens
Class AssetLoader
java.lang.Object
com.csse3200.game.screens.AssetLoader
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.badlogic.gdx.audio.Music
static com.badlogic.gdx.audio.Sound
static com.badlogic.gdx.graphics.Texture
getTexture
(String assetPath) static com.badlogic.gdx.graphics.g2d.TextureAtlas
getTextureAtlas
(String assetPath) static void
static void
-
Field Details
-
textures
-
textureAtlases
-
music
-
Sounds
-
-
Constructor Details
-
AssetLoader
public AssetLoader()
-
-
Method Details
-
loadAllAssets
public static void loadAllAssets() -
unloadAllAssets
public static void unloadAllAssets() -
getTexture
-
getTextureAtlas
-
getSound
-
getMusic
-