Class AssetLoader

java.lang.Object
com.csse3200.game.screens.AssetLoader

public class AssetLoader extends Object
  • Field Details

    • textures

      public static final String[] textures
    • textureAtlases

      public static final String[] textureAtlases
    • music

      public static final String[] music
    • Sounds

      public static final String[] Sounds
  • Constructor Details

    • AssetLoader

      public AssetLoader()
  • Method Details

    • loadAllAssets

      public static void loadAllAssets()
    • unloadAllAssets

      public static void unloadAllAssets()
    • getTexture

      public static com.badlogic.gdx.graphics.Texture getTexture(String assetPath)
    • getTextureAtlas

      public static com.badlogic.gdx.graphics.g2d.TextureAtlas getTextureAtlas(String assetPath)
    • getSound

      public static com.badlogic.gdx.audio.Sound getSound(String assetPath)
    • getMusic

      public static com.badlogic.gdx.audio.Music getMusic(String assetPath)