Récupération objet bdd
This commit is contained in:
@@ -1,14 +1,25 @@
|
||||
package carte;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import condition.Condition;
|
||||
import effet.Effet;
|
||||
import main.Joueur;
|
||||
import main.Type;
|
||||
|
||||
public class CartePiochable<T extends Type> extends CarteCondition{
|
||||
public class CartePiochable<T extends Type> extends CarteCondition implements Serializable{
|
||||
|
||||
|
||||
private static final long serialVersionUID = 2391013233873750967L;
|
||||
|
||||
public CartePiochable(String nom, String description) {
|
||||
super(nom, description);
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
public CartePiochable(Effet e, Condition c) {
|
||||
super("","");
|
||||
this.setEffet(e);
|
||||
this.setCondition(c);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user