Package crazyOrb.musikplayer

Examples of crazyOrb.musikplayer.SoundThread


  @SuppressWarnings("deprecation")
  @Override
  public void lostAllLifes() {
    musicThread.stop();
    new SoundThread("DanielGameOver");
    canvas.showString("       GAME OVER");
    this.repaint();
    mechanics.terminate();
    HighscoreGUI high = new HighscoreGUI(mechanics.getBall().getHighscore());
    high.setVisible(true);
View Full Code Here


    setSpiel(false);
  }

  @Override
  public void ballCrashedWithBlock() {
    new SoundThread("DanielLostLife");
    canvas.showString("Fortsetzen? P drücken!");
    this.repaint();
  }
View Full Code Here

    if (ball.getSpecial() == null) {
      actualSpecial.setText("Kein Special");
    } else {
      actualSpecial.setText(ball.getSpecial().getDescription());
      if (actualSpecial.getText().equals("Shoot Laser") && !laserPickedUp) {
        new SoundThread("DanielNewLaser");
        laserPickedUp = true;
      }
    }

    switch (leben) {
View Full Code Here

  }

  @Override
  public void repaint(RepaintComponent event) {
    if(event.equals(RepaintComponent.LASER)){
      new SoundThread("DanielLaser");
      canvas.setLaser(true);
      laserPickedUp = false;
    }if(event.equals(RepaintComponent.LIFE)){
      new SoundThread("DanielNewLife");
    }
    repaint();
  }
View Full Code Here

TOP

Related Classes of crazyOrb.musikplayer.SoundThread

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.