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
a9316fb8
Commit
a9316fb8
authored
2 years ago
by
Louis MALTERRE
Browse files
Options
Downloads
Patches
Plain Diff
un peu d'ordre dans entity LM
parent
764bb7b4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MAVENProject/src/main/java/entity/Entity.java
+10
-0
10 additions, 0 deletions
MAVENProject/src/main/java/entity/Entity.java
with
10 additions
and
0 deletions
MAVENProject/src/main/java/entity/Entity.java
+
10
−
0
View file @
a9316fb8
...
...
@@ -35,24 +35,31 @@ public abstract class Entity {
public
Coordonnees
getCoord
(){
return
this
.
coord
;
}
// Pour retourner les coordonées
public
void
setCoord
(
Coordonnees
coord
)
{
this
.
coord
=
coord
;
}
public
double
getEntityWIDTH
()
{
return
entityWIDTH
;
}
public
double
getEntityHEIGHT
()
{
return
entityHEIGHT
;
}
public
Coordonnees
getOldCoord
()
{
return
oldCoord
;
}
public
HitBox
getHitBox
()
{
return
hitBox
;
}
public
int
getNbLifePoints
()
{
return
nbLifePoints
;
}
public
void
setNbLifePoints
(
int
nbLifePoints
)
{
this
.
nbLifePoints
=
nbLifePoints
;
}
...
...
@@ -60,12 +67,15 @@ public abstract class Entity {
public
void
setHitBox
(
HitBox
hitBox
)
{
this
.
hitBox
=
hitBox
;
}
public
double
getVitesseMax
()
{
return
vitesseMax
;
}
public
int
getMaxLifePoints
()
{
return
maxLifePoints
;
}
public
int
getAlpha
()
{
return
alpha
;
}
...
...
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