getCharacter -> getEventCharacter

This commit is contained in:
Brian Matzon 2004-02-05 16:23:04 +00:00
parent fe6db13931
commit 9adc719a08
2 changed files with 2 additions and 2 deletions

View File

@ -475,7 +475,7 @@ public class Keyboard {
/**
* @return The character from the current event
*/
public static char getCharacter() {
public static char getEventCharacter() {
return eventCharacter;
}

View File

@ -133,7 +133,7 @@ public class KeyboardTest {
int count = Keyboard.getNumKeyboardEvents();
while (Keyboard.next()) {
System.out.println("Checking key:" + Keyboard.getKeyName(Keyboard.getEventKey()));
System.out.println("Key character: " + Keyboard.getCharacter());
System.out.println("Key character: " + Keyboard.getEventCharacter());
if (Keyboard.getEventKey() == Keyboard.KEY_ESCAPE) {
return;