Demo Rey
This commit is contained in:
@ -18,7 +18,12 @@ public abstract class CarteCondition extends CarteEffet{
|
||||
*/
|
||||
@Override
|
||||
public void utiliser(Joueur j) {
|
||||
if(this.condition.isTrue(j)) {
|
||||
if(this.condition != null) {
|
||||
|
||||
if(this.condition.isTrue(j)) {
|
||||
super.utiliser(j);
|
||||
}
|
||||
}else {
|
||||
super.utiliser(j);
|
||||
}
|
||||
}
|
||||
|
@ -55,6 +55,10 @@ public class CarteLieu extends CarteEffet{
|
||||
return this.coordinates;
|
||||
}
|
||||
|
||||
public void ajouterJoueur(Joueur joueur) {
|
||||
this.listeJoueurs.add(joueur);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user