importation de l'API #2
This commit is contained in:
14
javaAPI/fr/iut_fbleau/GameAPI/AbstractPly.java
Normal file
14
javaAPI/fr/iut_fbleau/GameAPI/AbstractPly.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package fr.iut_fbleau.GameAPI;
|
||||
|
||||
public abstract class AbstractPly {
|
||||
private Player joueur;
|
||||
|
||||
// constructeur à appeler dans le constructeur d'un fils concret avec super.
|
||||
public AbstractPly(Player j){
|
||||
this.joueur=j;
|
||||
}
|
||||
|
||||
public Player getPlayer(){
|
||||
return this.joueur;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user