public void nextCharacter() {
   handler.fireNewCharacter(this, (int) chars[random.nextInt(chars.length)]);
 }
 public void addCharacterListener(CharacterListener cl) {
   handler.addCharacterListener(cl);
 }
 public void removeCharacterListener(CharacterListener cl) {
   handler.removeCharacterListener(cl);
 }
예제 #4
0
 public void newCharacter(int c) {
   handler.fireNewCharacter(this, c);
 }