Skip to content
Snippets Groups Projects
Commit f359434b authored by Louis MALTERRE's avatar Louis MALTERRE
Browse files

pour boss LM

parent 20e02b28
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ public class LevelManager {
private Level levelOne;
private Level levelTwo;
private List<BufferedImage> obstacleImage = new ArrayList<>();
private static int indexBoss;
public LevelManager() {
importOutsideSprites();
......@@ -188,7 +189,7 @@ public class LevelManager {
//Boss
if (index == 47) {
monsterList.add(new Boss(new Coordonnees(32*i, 32*j-140/2), 500, 32, 96, 3, 50));
indexBoss = monsterList.size()-1;
}
}
}
......@@ -227,6 +228,10 @@ public class LevelManager {
public BufferedImage getImageCoffre() {
return importOutsideSprites()[5];
}
public static int getIndexBoss() {
return indexBoss;
}
}
MAVENProject/src/main/resources/Obstacles/background.jpg

43 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment