Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ISN 2022-ACL project Cyberpac 2077
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
RICHARD Florian
ISN 2022-ACL project Cyberpac 2077
Commits
f359434b
Commit
f359434b
authored
2 years ago
by
Louis MALTERRE
Browse files
Options
Downloads
Patches
Plain Diff
pour boss LM
parent
20e02b28
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MAVENProject/src/main/java/map/LevelManager.java
+6
-1
6 additions, 1 deletion
MAVENProject/src/main/java/map/LevelManager.java
MAVENProject/src/main/resources/Obstacles/background.jpg
+0
-0
0 additions, 0 deletions
MAVENProject/src/main/resources/Obstacles/background.jpg
with
6 additions
and
1 deletion
MAVENProject/src/main/java/map/LevelManager.java
+
6
−
1
View file @
f359434b
...
...
@@ -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
;
}
}
This diff is collapsed.
Click to expand it.
MAVENProject/src/main/resources/Obstacles/background.jpg
0 → 100644
+
0
−
0
View file @
f359434b
43 KiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment