Browse Source

added the pause touch in the Gamemove´s

main
fdai2751 11 months ago
parent
commit
1f49220723
  1. 6
      src/main/java/pacmanGame/Player.java

6
src/main/java/pacmanGame/Player.java

@ -32,8 +32,10 @@ public class Player {
}
public void processInput(char inputchar) {
if(inputchar == 'w') {
if(inputchar == 'p') {
checkInput(new Vector2(0,0));
}
else if(inputchar == 'w') {
checkInput(new Vector2(0,1));
}

Loading…
Cancel
Save