Skip to content
Snippets Groups Projects
Commit 6752617f authored by SYMKO TRISTAN's avatar SYMKO TRISTAN
Browse files

input en lowercase pour conserver les touches de direction même en maj

parent ebcb2e10
Branches
No related merge requests found
......@@ -49,6 +49,8 @@ public class Game {
@Override
public void keyPressed(KeyEvent e) {
char input = e.getKeyChar();
input = Character.toLowerCase(input);
System.out.println(input);
if (input != 0) {
gameLogique(input);
checkWin();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment