Advertisement
Guest User

ResourceManager's loadResources()

a guest
Oct 1st, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.44 KB | None | 0 0
  1.         } else {
  2.             // Load all queued audio...
  3.             if (audioCount > 0) {
  4.                 // Ok get the key and src that is next in the queue
  5.                 String key = audioLoadQueue.remove(0);
  6.                 String src = audioLoadQueue.remove(0);
  7.  
  8.                 // Now trigger the load...
  9.                 Audio aud = new Audio(key, src);
  10.                 while (!aud.isDoneLoading()) {H5EResourceManager.log("Loading audio by the key of " + key + " and src of " + src);}
  11.                 this.audioMap.put(key, aud);
  12.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement