back to 1.19 - silly me
This commit is contained in:
parent
900fc0e8fe
commit
b7a151c48b
|
@ -384,11 +384,7 @@ public class Keyboard {
|
|||
*/
|
||||
public static boolean isKeyDown(int key) {
|
||||
assert created : "The keyboard has not been created.";
|
||||
// if (readBuffer != null) {
|
||||
// return Keyboard.key == key;
|
||||
// } else {
|
||||
return keyDownBuffer.get(key) != 0;
|
||||
// }
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue