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

un peu d'ordre dans entity LM

parent 764bb7b4
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment