Get instance of the AssetManager.
Get a sound with the given name.
Name of the sound.
Sound with the given name or undefined if not found.
Get a texture with the given name.
Name of the texture.
Texture with the given name or undefined if not found.
Load a sound with a given name.
Name of the sound.
Path to the sound file.
Load a texture with a given name.
Name of the texture.
Path to the texture file.
Generated using TypeDoc
Asset manager is responsible for loading and managing assets of the game.