Commit f67862bb authored by Guillaume Dewisme's avatar Guillaume Dewisme

feat/player in progress

parent 40921cc6
...@@ -22,4 +22,18 @@ public class Player extends Entity { ...@@ -22,4 +22,18 @@ public class Player extends Entity {
//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