Implementation des models

This commit is contained in:
Amaury
2020-12-02 16:29:25 +01:00
parent 9f0c1e337a
commit 80f0899bf1
15 changed files with 223 additions and 26 deletions

View File

@@ -0,0 +1,21 @@
package modele.donnees;
import modele.calculs.Jeu;
public abstract class Items extends ElementFond {
public Items(Jeu jeu) {
super(jeu);
}
@Override
public boolean peutPermettreDeMonterDescendre() {
return false;
}
@Override
public boolean estRectoble() {
return true;
}
public abstract boolean estRecolte();
}