Skip navigation links
com.almasb.fxgl.service

Interface AssetLoader

Parameters:
name - sound name without the /assets/sounds/, e.g. "explosion.wav"
Returns:
sound
Throws:
IllegalArgumentException - if asset not found or loading error
Parameters:
name - music name without the /assets/music/, e.g. "background_music.mp3"
Returns:
music
Throws:
IllegalArgumentException - if asset not found or loading error
Skip navigation links

Copyright © 2017. All rights reserved.