Examples of sound()


Examples of com.notnoop.apns.PayloadBuilder.sound()

      if (data.has("alertBody"))
        b.alertBody(data.getString("alertBody"));
      if (data.has("badge"))
        b.badge(data.getInt("badge"));
      if (data.has("sound"))
        b.sound(data.getString("sound"));
    } catch (JSONException e) {
      throw new InvalidArgumentServiceException("data", e.getMessage());
    }

    return b.build();
View Full Code Here

Examples of com.pointcliki.dizgruntled.GruntzResourceManager.ToggleInfo.sound()

       
        // Do sfx
        if (info.graphics("") != null && !fGiantRockBreaking) {
          int layer = i;
          if (info.layer() >= 0) layer = info.layer();
          sfx(layer, info.animation(fTilesets[i].area()), info.graphics(fTilesets[i].area()), info.sound(fTilesets[i].area()), xy);
        }
       
        break;
      }
    }
View Full Code Here

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

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

    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.