Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. public void init(GameContainer gc, StateBasedGame sbg) throws SlickException{
  2. BossInt = new Music("OST/bossintronly.wav");
  3. Boss1 = new Music("OST/bossloop.wav");
  4. Boss1.setVolume(0.5f);
  5. BossInt.setVolume(0.5f);
  6.  
  7. BossInt.play();
  8. }
  9.  
  10. if (BossInt.playing() == false) {
  11. Boss1.loop();
  12. }
  13.  
  14. if (BossInt.playing() == false && Boss1.playing() == false) {
  15. Boss1.loop();
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement