Package com.pointcliki.dizgruntled.rez

Examples of com.pointcliki.dizgruntled.rez.MonolithWAV.sound()


      } else {
        int r = (int) Math.floor(Math.random() * 11) + 65;
        sound = "ENEMYSELECT/SELECTGRUNT" + (char) r;
      }
      MonolithWAV wav = new MonolithWAV(GruntzGame.resourceManager().voicez().file("VOICES/" + sound, "wav"));
      speak(wav.sound());
    }
    super.select();
  }
 
  @Override
View Full Code Here


    if (!GruntzGame.instance().mute() && fVoice != null) fVoice.play(1, 0.2f);
  }
 
  public void speak(String s) {
    MonolithWAV wav = new MonolithWAV(GruntzGame.resourceManager().voicez().file("VOICES/" + s, "wav"));
    speak(wav.sound());
  }
 
  public void move(GridCoordinate xy) {
    // Check whether the grunt is accepting commands
    if (!attributeAsBoolean("controllable")) return;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.