Commit 421a4140 authored by babablaze's avatar babablaze

add CarteTest and PionTest. add methods in Plateau

parents 877fe54a 5aeae566
package fr.univnantes.alma.game;
import fr.univnantes.alma.game.composant.Carte.CarteLieu;
import fr.univnantes.alma.game.composant.Joueur.Creature;
import fr.univnantes.alma.game.composant.Joueur.Traque;
import fr.univnantes.alma.game.composant.Pion.Pion;
import java.util.ArrayList;
public class ServeurNotAlone implements ServeurNotAloneInterface {
private Creature creature;
private Pion pionAssimilation;
private Pion pionSurvie;
private ArrayList<Traque> traques;
public ServeurNotAlone() {
}
public void retirerPion(int nbPion) {
}
public void avancerPionAssimilation() {
this.pionAssimilation.setPosition(this.pionAssimilation.getPosition() -1);
}
public void poserJetonCreature(CarteLieu card) {
}
public void poserJetonCible(CarteLieu card1, CarteLieu card2) {
}
public void poserJetonArtemia(CarteLieu card) {
}
public void recupererJeton() {
}
public void piocherCarteTraque() {
}
public String effet(CarteLieu carte) {
return "";
}
}
package fr.univnantes.alma.game;
import fr.univnantes.alma.game.composant.Carte.CarteLieu;
public interface ServeurNotAloneInterface {
public void retirerPion(int nbPion);
public void reprendreCarte(int nbCarte);
public void defausseCarte(CarteLieu card);
public void avancerPionAssimilation();
public void poserJetonCreature(CarteLieu card);
public void poserJetonCible(CarteLieu card1, CarteLieu card2);
public void poserJetonArtemia(CarteLieu card);
public void recupererJeton();
public void piocherCarteTraque();
public String effet(CarteLieu carte);
}
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