Skip to content
Snippets Groups Projects
Commit efcec089 authored by Azurlors's avatar Azurlors
Browse files

Mise à jour test

parent c0e030bc
No related branches found
No related tags found
No related merge requests found
......@@ -5,5 +5,5 @@ package engine;
*
*/
public enum Cmd {
LEFT,RIGHT,UP,IDLE;
LEFT,RIGHT,JUMP,IDLE;
}
package entity;
public class Character {
}
......@@ -53,7 +53,7 @@ public class PacmanController implements GameController {
this.commandeEnCours = Cmd.RIGHT;
break;
case ' ':
this.commandeEnCours = Cmd.UP;
this.commandeEnCours = Cmd.JUMP;
break;
}
......
......@@ -42,7 +42,9 @@ public class PacmanGame implements Game {
@Override
public void evolve(Cmd commande) {
System.out.println("Execute "+commande);
if (commande == Cmd.LEFT) {
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment