Commit 87386558 authored by Guillaume Dewisme's avatar Guillaume Dewisme

feat/attribut MAXENDURANCE Entity

parent 52f4ea13
......@@ -5,6 +5,11 @@ public abstract class Entity {
private int pvMax;
private int pv;
private int endurance;
private static final int MAX_ENDURANCE = 3;
public Entity(){
this.endurance = MAX_ENDURANCE;
}
public void heal(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment