public void nextCharacter() {
   handler.fireNewCharacter(this, (int) chars[random.nextInt(chars.length)]);
 }
 public int getPauseTime() {
   return (int) (Math.max(1000, 5000 * random.nextDouble()));
 }