Commit 5f9d3f98 authored by Guillaume Dewisme's avatar Guillaume Dewisme

feat/constructor full field Player

parent 87386558
package org.example;
public class Player extends Entity {
private String name;
private SpecialAbility specialAbility;
public Player(String name, SpecialAbility specialAbility) {
super();
this.name = name;
this.specialAbility = specialAbility;
this.setPvMax(100);
this.setPv(this.getPvMax());
this.setDamage(5);
}
}
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