Commit f67862bb authored by Guillaume Dewisme's avatar Guillaume Dewisme

feat/player in progress

parent 40921cc6
...@@ -21,5 +21,19 @@ public class Player extends Entity { ...@@ -21,5 +21,19 @@ public class Player extends Entity {
--this.endurance; --this.endurance;
//implement when Ennemy class is created //implement when Ennemy class is created
} }
public void useSpecialAbility(){
if(this.specialAbility == SpecialAbility.DAMAGE){
this.setDamage(MAX_ENDURANCE);
}
if(this.specialAbility == SpecialAbility.FULLHEAL){
}
if(this.specialAbility == SpecialAbility.SHIELD ){
}
}
} }
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