Commit 164cd67c authored by CRESCENCE Cassandre's avatar CRESCENCE Cassandre

Add new file

parent 719a1200
Pipeline #482 failed with stages
package tictactoecodingame;
/**
* @author Franck
*
*/
public abstract class Joueur {
private String nom;
private static int nbJoueur = 0;
private int idJoueur;
public Joueur( String _nom ) {
idJoueur = nbJoueur;
nbJoueur++;
this.nom = _nom;
}
public void setNom ( String _nom ) {
this.nom = _nom;
}
public String getNom() {
return nom;
}
public int getIdJoueur() {
return idJoueur;
}
abstract public Coup joue( Plateau p_plateau );
public String toString() {
return nom;
}
}
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