Skip to content
Snippets Groups Projects
Commit 272c7be2 authored by rosier8u's avatar rosier8u
Browse files

ajout de ConstructeurGuerrier

parent 7ae107f0
Branches
Tags
No related merge requests found
package modele.DPFabrique;
import modele.Epee;
import modele.Guerrier;
import modele.Personnage;
public class ConstructeurGuerrier implements Constructeur{
@Override
public Personnage creerPersonnage() {
Epee epee = new Epee(20, "epee", 2.0, 10);
return new Guerrier(80, 1, "guerrier", epee, 30);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment