2025-09-18 15:15:37 +02:00
|
|
|
package fr.iut_fbleau.GameAPI;
|
|
|
|
|
|
|
|
public abstract class AbstractPly {
|
|
|
|
private Player joueur;
|
2025-09-19 15:22:44 +02:00
|
|
|
|
2025-10-09 11:34:16 +02:00
|
|
|
// constructeur à appeler dans le constructeur d'un fils concret avec super.
|
|
|
|
public AbstractPly(Player j){
|
|
|
|
this.joueur=j;
|
|
|
|
}
|
|
|
|
|
2025-09-19 15:22:44 +02:00
|
|
|
public Player getPlayer(){
|
|
|
|
return this.joueur;
|
|
|
|
}
|
2025-09-18 15:15:37 +02:00
|
|
|
}
|