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

Pour que les animations marchent pour tous le monde.

parent 04715860
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ public class Jeu implements Game{ ...@@ -29,7 +29,7 @@ public class Jeu implements Game{
public Jeu(String source) { public Jeu(String source) {
BufferedReader helpReader; BufferedReader helpReader;
beginPath = "E:\\Bureau\\Programmation\\Projet_ACL\\acl-project\\Frames_perso\\"; beginPath = System.getProperty("user.dir")+ "\\src\\main\\resources\\Frames_perso\\";
movement = "Character_idle"; movement = "Character_idle";
numberOfMovement = 1; numberOfMovement = 1;
characterSkinPath = beginPath + movement + Integer.toString(numberOfMovement) + ".png"; // path premiere frame characterSkinPath = beginPath + movement + Integer.toString(numberOfMovement) + ".png"; // path premiere frame
......
...@@ -11,9 +11,7 @@ import jeu.Jeu; ...@@ -11,9 +11,7 @@ import jeu.Jeu;
public class Main { public class Main {
public static void main(String[] args) throws InterruptedException { public static void main(String[] args) throws InterruptedException {
System.out.println("\n");
String aaa = System.getProperty("user.dir");
System.out.println(aaa);
// creation du jeu particulier et de son afficheur // creation du jeu particulier et de son afficheur
Jeu game = new Jeu("helpFilePacman.txt"); Jeu game = new Jeu("helpFilePacman.txt");
Painter painter = new Painter(); Painter painter = new Painter();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment