Ajout Etats, Comportements et Fabriques
This commit is contained in:
parent
6a2aecc298
commit
3719268bde
13
src/Comportements/ComportementActionRamasserNeige.java
Normal file
13
src/Comportements/ComportementActionRamasserNeige.java
Normal file
@ -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
|
||||
|
||||
}
|
||||
|
||||
}
|
13
src/Comportements/ComportementActionSeDeplacer.java
Normal file
13
src/Comportements/ComportementActionSeDeplacer.java
Normal file
@ -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
|
||||
|
||||
}
|
||||
|
||||
}
|
13
src/Comportements/ComportementActionTirerBalon.java
Normal file
13
src/Comportements/ComportementActionTirerBalon.java
Normal file
@ -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
|
||||
|
||||
}
|
||||
|
||||
}
|
13
src/Comportements/ComportementActionTirerBouleDeNeige.java
Normal file
13
src/Comportements/ComportementActionTirerBouleDeNeige.java
Normal file
@ -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!!!!!!!";
|
||||
}
|
||||
|
||||
}
|
5
src/Etats/EtatPersonnageAbstrait.java
Normal file
5
src/Etats/EtatPersonnageAbstrait.java
Normal file
@ -0,0 +1,5 @@
|
||||
package Etats;
|
||||
|
||||
public abstract class EtatPersonnageAbstrait {
|
||||
|
||||
}
|
5
src/Etats/EtatPersonnageKO.java
Normal file
5
src/Etats/EtatPersonnageKO.java
Normal file
@ -0,0 +1,5 @@
|
||||
package Etats;
|
||||
|
||||
public class EtatPersonnageKO extends EtatPersonnageAbstrait {
|
||||
|
||||
}
|
5
src/Etats/EtatPersonnageOK.java
Normal file
5
src/Etats/EtatPersonnageOK.java
Normal file
@ -0,0 +1,5 @@
|
||||
package Etats;
|
||||
|
||||
public class EtatPersonnageOK extends EtatPersonnageAbstrait {
|
||||
|
||||
}
|
16
src/Fabriques/Personnages/FabriquePersonnagesBattleSnow.java
Normal file
16
src/Fabriques/Personnages/FabriquePersonnagesBattleSnow.java
Normal file
@ -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;
|
||||
}
|
||||
}
|
13
src/Fabriques/Plateau/FabriquePlateauBattleGoal.java
Normal file
13
src/Fabriques/Plateau/FabriquePlateauBattleGoal.java
Normal file
@ -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;
|
||||
}
|
||||
|
||||
}
|
13
src/Fabriques/Plateau/FabriquePlateauBattleSnow.java
Normal file
13
src/Fabriques/Plateau/FabriquePlateauBattleSnow.java
Normal file
@ -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;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user