Examples of TTSSound


Examples of cero.ui.sound.TTSSound

      // Nombre de cartes des joueurs

      for (Player player : game.getPlayers()) {
        String string = player.getPlayerName() + " : ";
        ZonesGroup zones = player.getZones();
        SoundManager.playSound(new TTSSound("", false));
        for (Zone zone : zones)
          string += Integer.toString(zone.getCardCount());
        string += " cartes";
        SoundManager.playSound(new TTSSound(string, false));
      }
    }
View Full Code Here

Examples of cero.ui.sound.TTSSound

   * Get the scores and print them into the box
   */
  private void scoresSummary() {
    String string = "\n";
   
    SoundManager.playSound(new TTSSound("", false));
   
    for (cero.games.Player players : game.getPlayers()) {
      String substring = players.getPlayerName() + " : "
          + ((UnoPlayer) players).getPoints() + " points\n";
      string += substring;
      SoundManager.playSound(new TTSSound(substring + ".", false));
    }
    text = new JTextArea();
    text.setText(string);
    text.setAlignmentX(JTextArea.CENTER_ALIGNMENT);
    text.setFont(font);
View Full Code Here

Examples of cero.ui.sound.TTSSound

    }
    title.setFont(font);
    title.setAlignmentX(JLabel.CENTER_ALIGNMENT);
    labelPanel.add(title, BorderLayout.NORTH);

    SoundManager.playSound(new TTSSound("",false));
   
    String string = "\n";
    for (cero.games.Player players : game.getPlayers()){
      String substring = players.getPlayerName() + " : " + ((UnoPlayer) players).getPoints() + " points\n";
      string += substring;
      SoundManager.playSound(new TTSSound(substring + ".",false));
    }
   
    string+="\nVeux tu recommencer ?\n";

    text = new JTextArea();
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.