Guest User

Untitled

a guest
Oct 28th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. abstract public class Assets{
  2.  
  3. public static AssetManager manager;
  4. // ...
  5. public static final AssetDescriptor<Sound> sound_explosion = new AssetDescriptor<Sound>("res/sounds/explosion2.ogg", Sound.class);
  6.  
  7. public static void load(){
  8. // ...
  9. manager.load(sound_explosion);
  10. }
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment