1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Tuile tuile0001 = new Tuile("Rifle Platoon","4TH INF. 3TH INF. REG","US",70,2);
//Constructueur des Slot(String pSlotTaille, String pSlotCodeCouleur1,String pSlotCodeCouleur2, String pSlotPosition, Boolean pSlotPlein)
tuile0001.slots.add(new Slot("Grand","JauneBlanc","JauneBlanc","Gauche",false));
tuile0001.slots.add(new Slot("Petit","GrisNoirGris","GrisNoirGris","MilieuGauche",false));
tuile0001.slots.add(new Slot("Petit","GrisNoirGris","GrisNoirGris","MilieuDroit",false));
tuile0001.slots.add(new Slot("Grand","JauneBlanc","JauneBlanc","Droit",false));
tuile0001.AfficherCaracTuile();
//tuile0001.ModifierSlotplein(1);
//tuile0001.AfficherCaracTuile();
//Constructeur des Pion(String pPionCodeCouleur1,String pPionCodeCouleur2, String pPionTaille,String pPionNom,String pPionArmee,int pPionPoint
Pion pion0001 = new Pion("JauneBlanc","JauneBlanc","Grand","RIFFLE SQUAD","US",50,false);
Pion pion0002 = new Pion("JauneBlanc","JauneBlanc","Grand",".30 CAL SQUAD","US",50,false);
Pion pion0003 = new Pion("JauneBlanc","JauneBlanc","Grand","BAZOOKA SQUAD","US",55,false);
Pion pion0004 = new Pion("GrisNoirGris","GrisNoirGris","Grand","SHERMAN M4","US",60,false);
Pion pion0005 = new Pion("GrisNoirGris","GrisNoirGris","Grand","M5 STUART","US",50,false);
Pion pion0006 = new Pion("GrisNoirGris","GrisNoirGris","Grand","M8 SCOTT","US",50,false);
pion0001.AfficherCaracPion();
}
} |
Partager