Ajout Etats, Comportements et Fabriques
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package Comportements;
|
||||
|
||||
import Cases.CaseAbstraite;
|
||||
|
||||
public class ComportementActionRamasserNeige implements ComportementAction {
|
||||
|
||||
@Override
|
||||
public void executerAction(CaseAbstraite c) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package Comportements;
|
||||
|
||||
import Cases.CaseAbstraite;
|
||||
|
||||
public class ComportementActionSeDeplacer implements ComportementAction {
|
||||
|
||||
@Override
|
||||
public void executerAction(CaseAbstraite c) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package Comportements;
|
||||
|
||||
import Cases.CaseAbstraite;
|
||||
|
||||
public class ComportementActionTirerBalon implements ComportementAction {
|
||||
|
||||
@Override
|
||||
public void executerAction(CaseAbstraite c) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package Comportements;
|
||||
|
||||
import Cases.CaseAbstraite;
|
||||
|
||||
public class ComportementActionTirerBouleDeNeige implements ComportementAction {
|
||||
|
||||
@Override
|
||||
public void executerAction(CaseAbstraite c) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package Comportements;
|
||||
|
||||
public interface ComportementEmmetreSon {
|
||||
public String emmetreSon();
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package Comportements;
|
||||
|
||||
public interface ComportementSeDeplacer {
|
||||
public String seDeplacer();
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
package Comportements;
|
||||
|
||||
public class ComportementSiffler implements ComportementEmmetreSon {
|
||||
|
||||
@Override
|
||||
public String emmetreSon() {
|
||||
return "Coup de sifflet!!!!!!!";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package Etats;
|
||||
|
||||
public abstract class EtatPersonnageAbstrait {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package Etats;
|
||||
|
||||
public class EtatPersonnageKO extends EtatPersonnageAbstrait {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package Etats;
|
||||
|
||||
public class EtatPersonnageOK extends EtatPersonnageAbstrait {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package Fabriques.Personnages;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import Observateur.Organisation;
|
||||
import Person.Personnage;
|
||||
|
||||
public class FabriquePersonnagesBattleSnow extends FabriquePersonnagesAbstraite {
|
||||
|
||||
@Override
|
||||
public ArrayList<Personnage> CreerPersonages(Organisation o) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
package Fabriques.Personnages;
|
||||
|
||||
import Observateur.Organisation;
|
||||
import Person.Personnage;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class FabriquePersonnagesMoyenAge extends FabriquePersonnagesAbstraite {
|
||||
|
||||
@Override
|
||||
public ArrayList<Personnage> CreerPersonages(Organisation o) {
|
||||
/* Princesse p = new Princesse("Fiona");
|
||||
Chevalier z = new Chevalier(o, "Zodiac");
|
||||
Fantasssin f = new Fantasssin(o, "Fantastic");
|
||||
|
||||
ArrayList<Personnage> liste = new ArrayList<Personnage>();
|
||||
liste.add(p);
|
||||
liste.add(z);
|
||||
liste.add(f);*/
|
||||
ArrayList<Personnage> liste = new ArrayList<Personnage>();
|
||||
return liste;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package Fabriques.Plateau;
|
||||
|
||||
import Cases.CaseAbstraite;
|
||||
|
||||
public class FabriquePlateauBattleGoal extends FabriquePlateauAbstraite {
|
||||
|
||||
@Override
|
||||
public CaseAbstraite[][] CreerPlateau() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package Fabriques.Plateau;
|
||||
|
||||
import Cases.CaseAbstraite;
|
||||
|
||||
public class FabriquePlateauBattleSnow extends FabriquePlateauAbstraite {
|
||||
|
||||
@Override
|
||||
public CaseAbstraite[][] CreerPlateau() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user