Merge branch 'development' of https://github.com/PTE-SH/ShadowHunterGame into development
This commit is contained in:
commit
51e4d845f0
@ -1,37 +1,38 @@
|
|||||||
jouer=Jouer
|
jouer=Jouer
|
||||||
regles=Règles
|
regles=Régles
|
||||||
commencer.partie=Commencer la partie
|
commencer.partie=Commencer la partie
|
||||||
entrez.nom.joueur= Entrez le nom des joueurs
|
entrez.nom.joueur= Entrez le nom des joueurs
|
||||||
nombre.joueur.minimum=(Il faut au moins 4 joueurs)
|
nombre.joueur.minimum=(Il faut au moins 4 joueurs)
|
||||||
cocher.case=Cochez la case pour que le joueur soit un joueur virtuel
|
cocher.case=Cochez la case pour que le joueur soit un joueur virtuel
|
||||||
carte.personnage=Carte personnage
|
carte.personnage=Carte personnage
|
||||||
se.reveler=Se révéler
|
se.reveler=Se révéler
|
||||||
pas.de=Pas de
|
pas.de=Pas de
|
||||||
dégats=dégats
|
dégats=dégâts
|
||||||
reveler.et.soigner=Se révéler et soigner mes blessures
|
reveler.et.soigner=Se révéler et soigner mes blessures
|
||||||
rien.faire=Ne rien faire
|
rien.faire=Ne rien faire
|
||||||
effet.carte=Effet carte
|
effet.carte=Effet carte
|
||||||
choisir.joueur.soigner=Choisissez un joueur que vous voulez soigner
|
choisir.joueur.soigner=Choisissez un joueur que vous voulez soigner
|
||||||
joueur1.soigne.joueur2=Joueur 1 soigne Joueur 2
|
joueur1.soigne.joueur2=Joueur 1 soigne Joueur 2
|
||||||
lancer.de.des=Lancer les dès
|
lancer.de.des=Lancer les dés
|
||||||
choisr.joueur=Choisissez un joueur
|
choisr.joueur=Choisissez un joueur
|
||||||
joueur=Joueur
|
joueur=Joueur
|
||||||
choisir.joueur.infliger.blessures=Choisissez un joueur à qui infliger 2 blessures
|
choisir.joueur.infliger.blessures=Choisissez un joueur à qui infliger 2 blessures
|
||||||
carte.equipement.a.donner=Choisissez la carte équipement que vous allez donner
|
carte.equipement.a.donner=Choisissez la carte équipement que vous allez donner
|
||||||
joueur.a.qui.donner.carte.equipement=Choisissez un joueur à qui donner cette carte équipement
|
joueur.a.qui.donner.carte.equipement=Choisissez un joueur à qui donner cette carte équipement
|
||||||
carte.equipement=Cartes équipements
|
carte.equipement=Cartes équipements
|
||||||
choisir.equipement.a.voler=Choisissez un équipement à voler
|
choisir.equipement.a.voler=Choisissez un équipement à voler
|
||||||
carte.vision=Carte Vision
|
carte.vision=Carte Vision
|
||||||
jouer.a.qui.donner.carte=Choisissez un joueur à qui donner la carte.
|
jouer.a.qui.donner.carte=Choisissez un joueur à qui donner la carte.
|
||||||
|
carte=Carte
|
||||||
effet=Effet :
|
effet=Effet :
|
||||||
carte.vue.par.joueur.pioche=Cette carte ne peut être vu que par le joueur qui la pioche.
|
carte.vue.par.joueur.pioche=Cette carte ne peut être vu que par le joueur qui la pioche.
|
||||||
voir.carte=Voir carte
|
voir.carte=Voir carte
|
||||||
recoit=reçoit
|
recoit=reçoit
|
||||||
blessure=Blessures.
|
blessure=Blessures.
|
||||||
se.passe.rien=Il ne se passe rien.
|
se.passe.rien=Il ne se passe rien.
|
||||||
au.tour.de=C'est au tour du
|
au.tour.de=C'est au tour du
|
||||||
score.des.1=Score dés 1
|
score.des.1=Score dés 1
|
||||||
score.des.2=Score dés 2
|
score.des.2=Score dés 2
|
||||||
joueur1=Joueur 1
|
joueur1=Joueur 1
|
||||||
joueur2=Joueur 2
|
joueur2=Joueur 2
|
||||||
joueur3=Joueur 3
|
joueur3=Joueur 3
|
||||||
@ -40,24 +41,31 @@ joueur5=Joueur 5
|
|||||||
joueur6=Joueur 6
|
joueur6=Joueur 6
|
||||||
joueur7=Joueur 7
|
joueur7=Joueur 7
|
||||||
joueur8=Joueur 8
|
joueur8=Joueur 8
|
||||||
description.capacite.carte.lieux=Description capacité de la carte lieux
|
description.capacite.carte.lieux=Description capacité de la carte lieux
|
||||||
utiliser.capaciter.lieux=Utiliser la capacité du lieux
|
utiliser.capaciter.lieux=Utiliser la capacité du lieux
|
||||||
sauter.etape=Sauter cette étape
|
sauter.etape=Sauter cette étape
|
||||||
carte.lieux=Carte lieux
|
carte.lieux=Carte lieux
|
||||||
attaquer.joueur=Attaquer un autre joueur !
|
attaquer.joueur=Attaquer un autre joueur !
|
||||||
piocher.carte=Piocher une carte
|
piocher.carte=Piocher une carte
|
||||||
carte.tenebre=Carte ténébre
|
carte.tenebre=Carte ténêbre
|
||||||
carte.lumiere=Carte lumiére
|
carte.lumiere=Carte lumière
|
||||||
attaquer.ou.soigner=Attaquer un joueur ou se soigner de 2 blessures
|
attaquer.ou.soigner=Attaquer un joueur ou se soigner de 2 blessures
|
||||||
ne.pas.attaqur=Ne pas attaquer
|
ne.pas.attaqur=Ne pas attaquer
|
||||||
reveler.identite=révèle son identité!
|
reveler.identite=révéler son identité!
|
||||||
c.est=C'est
|
c.est=C'est
|
||||||
faction=Faction :
|
faction=Faction :
|
||||||
utiliser.capacite=utilise sa capacité.
|
utiliser.capacite=utilise sa capacité.
|
||||||
nom.personnages=Nom Personnage
|
nom.personnages=Nom Personnage
|
||||||
votre.competence=Votre compétence :
|
votre.competence=Votre compétence :
|
||||||
retourner.carte=Retourner la carte
|
retourner.carte=Retourner la carte
|
||||||
benediction=Bénediction
|
benediction=Bénediction
|
||||||
premier.secours=Premier secours
|
premier.secours=Premier secours
|
||||||
voler.equipement.joueur=Volez un équipement au joueurs de votre choix
|
voler.equipement.joueur=Volez un équipement au joueurs de votre choix
|
||||||
choisir.carte.equipement.a.voler=Cliquez sur la carte équipement que vous voulez voler
|
choisir.carte.equipement.a.voler=Cliquez sur la carte équipement que vous voulez voler
|
||||||
|
consequence=conséquence
|
||||||
|
se.soigner=Se soigner
|
||||||
|
mode.claire=Mode clair
|
||||||
|
musique=Musique
|
||||||
|
langue=Langue
|
||||||
|
parametre=Paramètres
|
||||||
|
enregistrer=Enregistrer
|
@ -7,7 +7,7 @@ cocher.case=Check the box to make the player a virtual player
|
|||||||
carte.personnage=Character card
|
carte.personnage=Character card
|
||||||
se.reveler=Reveal himslef
|
se.reveler=Reveal himslef
|
||||||
pas.de=No
|
pas.de=No
|
||||||
dégats=damages
|
dégats=damages
|
||||||
reveler.et.soigner=Reveal and heal my wounds
|
reveler.et.soigner=Reveal and heal my wounds
|
||||||
rien.faire=Do nothing
|
rien.faire=Do nothing
|
||||||
effet.carte=Card effect
|
effet.carte=Card effect
|
||||||
@ -62,4 +62,11 @@ retourner.carte=Flip the card
|
|||||||
benediction=Blessing
|
benediction=Blessing
|
||||||
premier.secours=First aid
|
premier.secours=First aid
|
||||||
voler.equipement.joueur=Steal equipment from players of your choice
|
voler.equipement.joueur=Steal equipment from players of your choice
|
||||||
choisir.carte.equipement.a.voler=Click on the equipment card you want to fly
|
choisir.carte.equipement.a.voler=Click on the equipment card you want to fly
|
||||||
|
consequence=result
|
||||||
|
se.soigner=To heal
|
||||||
|
mode.claire=Clear mode
|
||||||
|
musique=Music
|
||||||
|
langue=Language
|
||||||
|
parametre=Setting
|
||||||
|
enregistrer=Enregistrer
|
@ -1,38 +1,38 @@
|
|||||||
jouer=Jouer
|
jouer=Jouer
|
||||||
regles=Règles
|
regles=Régles
|
||||||
commencer.partie=Commencer la partie
|
commencer.partie=Commencer la partie
|
||||||
entrez.nom.joueur= Entrez le nom des joueurs
|
entrez.nom.joueur= Entrez le nom des joueurs
|
||||||
nombre.joueur.minimum=(Il faut au moins 4 joueurs)
|
nombre.joueur.minimum=(Il faut au moins 4 joueurs)
|
||||||
cocher.case=Cochez la case pour que le joueur soit un joueur virtuel
|
cocher.case=Cochez la case pour que le joueur soit un joueur virtuel
|
||||||
carte.personnage=Carte personnage
|
carte.personnage=Carte personnage
|
||||||
se.reveler=Se révéler
|
se.reveler=Se révéler
|
||||||
pas.de=Pas de
|
pas.de=Pas de
|
||||||
dégats=dégats
|
dégats=dégâts
|
||||||
reveler.et.soigner=Se révéler et soigner mes blessures
|
reveler.et.soigner=Se révéler et soigner mes blessures
|
||||||
rien.faire=Ne rien faire
|
rien.faire=Ne rien faire
|
||||||
effet.carte=Effet carte
|
effet.carte=Effet carte
|
||||||
choisir.joueur.soigner=Choisissez un joueur que vous voulez soigner
|
choisir.joueur.soigner=Choisissez un joueur que vous voulez soigner
|
||||||
joueur1.soigne.joueur2=Joueur 1 soigne Joueur 2
|
joueur1.soigne.joueur2=Joueur 1 soigne Joueur 2
|
||||||
lancer.de.des=Lancer les dès
|
lancer.de.des=Lancer les dés
|
||||||
choisr.joueur=Choisissez un joueur
|
choisr.joueur=Choisissez un joueur
|
||||||
joueur=Joueur
|
joueur=Joueur
|
||||||
choisir.joueur.infliger.blessures=Choisissez un joueur à qui infliger 2 blessures
|
choisir.joueur.infliger.blessures=Choisissez un joueur à qui infliger 2 blessures
|
||||||
carte.equipement.a.donner=Choisissez la carte équipement que vous allez donner
|
carte.equipement.a.donner=Choisissez la carte équipement que vous allez donner
|
||||||
joueur.a.qui.donner.carte.equipement=Choisissez un joueur à qui donner cette carte équipement
|
joueur.a.qui.donner.carte.equipement=Choisissez un joueur à qui donner cette carte équipement
|
||||||
carte.equipement=Cartes équipements
|
carte.equipement=Cartes équipements
|
||||||
choisir.equipement.a.voler=Choisissez un équipement à voler
|
choisir.equipement.a.voler=Choisissez un équipement à voler
|
||||||
carte.vision=Carte Vision
|
carte.vision=Carte Vision
|
||||||
jouer.a.qui.donner.carte=Choisissez un joueur à qui donner la carte.
|
jouer.a.qui.donner.carte=Choisissez un joueur à qui donner la carte.
|
||||||
carte=Carte
|
carte=Carte
|
||||||
effet=Effet :
|
effet=Effet :
|
||||||
carte.vue.par.joueur.pioche=Cette carte ne peut être vu que par le joueur qui la pioche.
|
carte.vue.par.joueur.pioche=Cette carte ne peut être vu que par le joueur qui la pioche.
|
||||||
voir.carte=Voir carte
|
voir.carte=Voir carte
|
||||||
recoit=reçoit
|
recoit=reçoit
|
||||||
blessure=Blessures.
|
blessure=Blessures.
|
||||||
se.passe.rien=Il ne se passe rien.
|
se.passe.rien=Il ne se passe rien.
|
||||||
au.tour.de=C'est au tour du
|
au.tour.de=C'est au tour du
|
||||||
score.des.1=Score dés 1
|
score.des.1=Score dés 1
|
||||||
score.des.2=Score dés 2
|
score.des.2=Score dés 2
|
||||||
joueur1=Joueur 1
|
joueur1=Joueur 1
|
||||||
joueur2=Joueur 2
|
joueur2=Joueur 2
|
||||||
joueur3=Joueur 3
|
joueur3=Joueur 3
|
||||||
@ -41,24 +41,31 @@ joueur5=Joueur 5
|
|||||||
joueur6=Joueur 6
|
joueur6=Joueur 6
|
||||||
joueur7=Joueur 7
|
joueur7=Joueur 7
|
||||||
joueur8=Joueur 8
|
joueur8=Joueur 8
|
||||||
description.capacite.carte.lieux=Description capacité de la carte lieux
|
description.capacite.carte.lieux=Description capacité de la carte lieux
|
||||||
utiliser.capaciter.lieux=Utiliser la capacité du lieux
|
utiliser.capaciter.lieux=Utiliser la capacité du lieux
|
||||||
sauter.etape=Sauter cette étape
|
sauter.etape=Sauter cette étape
|
||||||
carte.lieux=Carte lieux
|
carte.lieux=Carte lieux
|
||||||
attaquer.joueur=Attaquer un autre joueur !
|
attaquer.joueur=Attaquer un autre joueur !
|
||||||
piocher.carte=Piocher une carte
|
piocher.carte=Piocher une carte
|
||||||
carte.tenebre=Carte ténébre
|
carte.tenebre=Carte ténêbre
|
||||||
carte.lumiere=Carte lumiére
|
carte.lumiere=Carte lumière
|
||||||
attaquer.ou.soigner=Attaquer un joueur ou se soigner de 2 blessures
|
attaquer.ou.soigner=Attaquer un joueur ou se soigner de 2 blessures
|
||||||
ne.pas.attaqur=Ne pas attaquer
|
ne.pas.attaqur=Ne pas attaquer
|
||||||
reveler.identite=révèle son identité!
|
reveler.identite=révéler son identité!
|
||||||
c.est=C'est
|
c.est=C'est
|
||||||
faction=Faction :
|
faction=Faction :
|
||||||
utiliser.capacite=utilise sa capacité.
|
utiliser.capacite=utilise sa capacité.
|
||||||
nom.personnages=Nom Personnage
|
nom.personnages=Nom Personnage
|
||||||
votre.competence=Votre compétence :
|
votre.competence=Votre compétence :
|
||||||
retourner.carte=Retourner la carte
|
retourner.carte=Retourner la carte
|
||||||
benediction=Bénediction
|
benediction=Bénediction
|
||||||
premier.secours=Premier secours
|
premier.secours=Premier secours
|
||||||
voler.equipement.joueur=Volez un équipement au joueurs de votre choix
|
voler.equipement.joueur=Volez un équipement au joueurs de votre choix
|
||||||
choisir.carte.equipement.a.voler=Cliquez sur la carte équipement que vous voulez voler
|
choisir.carte.equipement.a.voler=Cliquez sur la carte équipement que vous voulez voler
|
||||||
|
consequence=conséquence
|
||||||
|
se.soigner=Se soigner
|
||||||
|
mode.claire=Mode clair
|
||||||
|
musique=Musique
|
||||||
|
langue=Langue
|
||||||
|
parametre=Paramètres
|
||||||
|
enregistrer=Enregistrer
|
56
src/ihm/EffetSonore.java
Normal file
56
src/ihm/EffetSonore.java
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
package ihm;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
|
||||||
|
import javax.sound.sampled.AudioInputStream;
|
||||||
|
import javax.sound.sampled.AudioSystem;
|
||||||
|
import javax.sound.sampled.Clip;
|
||||||
|
|
||||||
|
public class EffetSonore {
|
||||||
|
|
||||||
|
boolean soundOK;
|
||||||
|
|
||||||
|
public EffetSonore() {
|
||||||
|
this.soundOK = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void playSoundEffect(String path) {
|
||||||
|
|
||||||
|
if (this.soundOK == true) {
|
||||||
|
|
||||||
|
try {
|
||||||
|
|
||||||
|
File soundPath = new File(path);
|
||||||
|
|
||||||
|
if (soundPath.exists()) {
|
||||||
|
|
||||||
|
AudioInputStream audioInput = AudioSystem.getAudioInputStream(soundPath);
|
||||||
|
Clip clipSound = AudioSystem.getClip();
|
||||||
|
clipSound.open(audioInput);
|
||||||
|
clipSound.start();
|
||||||
|
|
||||||
|
} else {
|
||||||
|
System.out.println("le fichier audio n'est pas trouvé");
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch (Exception ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isSoundOK() {
|
||||||
|
return soundOK;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSoundOK(boolean soundOK) {
|
||||||
|
this.soundOK = soundOK;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -13,10 +13,10 @@ import javafx.stage.Stage;
|
|||||||
public class Main extends Application {
|
public class Main extends Application {
|
||||||
@Override
|
@Override
|
||||||
public void start(Stage primaryStage) throws Exception {
|
public void start(Stage primaryStage) throws Exception {
|
||||||
System.out.println("Lancement de l'application");
|
System.out.println("Lancement de l'application");
|
||||||
|
|
||||||
final URL fxmlURL = getClass().getResource("ressources/Menu.fxml"); // "ressources/Jouer_tour(1)lancer_des.fxml"
|
final URL fxmlURL = getClass().getResource("ressources/parametre.fxml"); // "ressources/Jouer_tour(1)lancer_des.fxml"
|
||||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.ENGLISH);
|
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||||
Pane root = fxmlLoader.load();
|
Pane root = fxmlLoader.load();
|
||||||
|
|
||||||
@ -30,4 +30,4 @@ public class Main extends Application {
|
|||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
launch(args);
|
launch(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -6,6 +6,8 @@ import javax.sound.sampled.AudioInputStream;
|
|||||||
import javax.sound.sampled.AudioSystem;
|
import javax.sound.sampled.AudioSystem;
|
||||||
import javax.sound.sampled.Clip;
|
import javax.sound.sampled.Clip;
|
||||||
|
|
||||||
|
import ihm.controller.ParametreController;
|
||||||
|
|
||||||
public class Musique {
|
public class Musique {
|
||||||
|
|
||||||
public static Clip clip;
|
public static Clip clip;
|
||||||
@ -16,7 +18,7 @@ public class Musique {
|
|||||||
try {
|
try {
|
||||||
|
|
||||||
File musicPath = new File(path);
|
File musicPath = new File(path);
|
||||||
|
|
||||||
if (musicPath.exists()) {
|
if (musicPath.exists()) {
|
||||||
|
|
||||||
AudioInputStream audioInput = AudioSystem.getAudioInputStream(musicPath);
|
AudioInputStream audioInput = AudioSystem.getAudioInputStream(musicPath);
|
||||||
|
@ -93,4 +93,4 @@ public class JouerSonTour1Controller implements Initializable{
|
|||||||
public void deplacerPion(CarteLieu lieux) {
|
public void deplacerPion(CarteLieu lieux) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -48,4 +48,4 @@ public class JouerSonTour2Controller implements Initializable{
|
|||||||
}*/
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -6,6 +6,7 @@ import java.net.URL;
|
|||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.ResourceBundle;
|
import java.util.ResourceBundle;
|
||||||
|
|
||||||
|
import ihm.EffetSonore;
|
||||||
import ihm.Musique;
|
import ihm.Musique;
|
||||||
import javafx.fxml.FXML;
|
import javafx.fxml.FXML;
|
||||||
import javafx.fxml.FXMLLoader;
|
import javafx.fxml.FXMLLoader;
|
||||||
@ -21,19 +22,27 @@ public class ParametreController implements Initializable {
|
|||||||
@FXML
|
@FXML
|
||||||
private CheckBox cmusique;
|
private CheckBox cmusique;
|
||||||
@FXML
|
@FXML
|
||||||
|
private CheckBox cbEffetSonore;
|
||||||
|
@FXML
|
||||||
private CheckBox clair;
|
private CheckBox clair;
|
||||||
@FXML
|
@FXML
|
||||||
private ComboBox<String> langues;
|
private ComboBox<String> langues;
|
||||||
boolean coche = false; // verifi si la checbox musical est coche
|
boolean coche = false; // verifi si la checbox musical est coche
|
||||||
boolean MusiqueLancee = false; //verifi si la musique a déja été lancé une première fois
|
boolean MusiqueLancee = false; //verifi si la musique a déja été lancé une première fois
|
||||||
|
|
||||||
|
public EffetSonore soundEffects = new EffetSonore();
|
||||||
|
|
||||||
String filepath = "src//ihm//ressources//musique//The_Red_Fox_Tavern.wav"; // lien vers la musique :
|
String filepathMusique = "src//ihm//ressources//musique//The_Red_Fox_Tavern.wav"; // lien vers la musique : https://www.youtube.com/watch?v=LBpKUIyOHdo
|
||||||
// https://www.youtube.com/watch?v=LBpKUIyOHdo
|
File fileMusique = new File("src//ihm//ressources//musique//The_Red_Fox_Tavern.wav");
|
||||||
File files = new File("src//ihm//ressources//musique//The_Red_Fox_Tavern.wav");
|
|
||||||
|
|
||||||
File repertoire = new File("src//ihm//ressources");
|
File repertoire = new File("src//ihm//ressources");
|
||||||
|
File repertoire2;
|
||||||
String liste[] = repertoire.list();
|
String liste[] = repertoire.list();
|
||||||
|
|
||||||
|
/*
|
||||||
|
public void ParametreController() {
|
||||||
|
EffetSonore sound = soundEffects;
|
||||||
|
}*/
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void initialize(URL arg0, ResourceBundle arg1) {
|
public void initialize(URL arg0, ResourceBundle arg1) {
|
||||||
@ -47,12 +56,13 @@ public class ParametreController implements Initializable {
|
|||||||
@FXML
|
@FXML
|
||||||
public void enregistre(MouseEvent mouseEvent) throws IOException, Exception {
|
public void enregistre(MouseEvent mouseEvent) throws IOException, Exception {
|
||||||
|
|
||||||
if (files.exists()) {
|
//Pour la musique
|
||||||
|
if (fileMusique.exists()) {
|
||||||
|
|
||||||
if (cmusique.isSelected() == true) {
|
if (cmusique.isSelected() == true) {
|
||||||
coche = true;
|
coche = true;
|
||||||
if (Musique.clipTimePosition == 0 && MusiqueLancee == false) { // si la musique n'a jamais été lancé
|
if (Musique.clipTimePosition == 0 && MusiqueLancee == false) { // si la musique n'a jamais été lancé
|
||||||
Musique.playMusique(filepath);
|
Musique.playMusique(filepathMusique);
|
||||||
MusiqueLancee = true;
|
MusiqueLancee = true;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -69,25 +79,74 @@ public class ParametreController implements Initializable {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Pour les effets sonores
|
||||||
/*
|
if (cbEffetSonore.isSelected() == true) {
|
||||||
* if(clair.isSelected()) { Pane root =
|
soundEffects.setSoundOK(true);
|
||||||
* FXMLLoader.load(getClass().getResource("ressources/parametre.fxml"));
|
|
||||||
* root.setStyle("ressources/style/menuLight.css"); if (liste != null) { for
|
System.out.println(soundEffects.isSoundOK());
|
||||||
* (int i = 0; i < liste.length; i++) { System.out.println(liste[i]); Pane root1
|
}
|
||||||
* = FXMLLoader.load(getClass().getResource(liste[i]));
|
|
||||||
* root1.setStyle("ressources/style/menuLight.css"); } }
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* }
|
|
||||||
*/
|
|
||||||
|
|
||||||
final URL fxmlURL = getClass().getResource("../ressources/Jouer_tour(3)attaquer.fxml");
|
else {
|
||||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.ENGLISH);
|
soundEffects.setSoundOK(false);
|
||||||
|
System.out.println(soundEffects.isSoundOK());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Pour la couleur du theme
|
||||||
|
|
||||||
|
/*
|
||||||
|
if (clair.isSelected()) {
|
||||||
|
//Pane root = FXMLLoader.load(getClass().getResource("../ressources/parametre.fxml"));
|
||||||
|
//root.setStyle("ressources/style/menuLight.css");
|
||||||
|
|
||||||
|
if (liste != null) {
|
||||||
|
for (int i = 0; i < liste.length; i++) {
|
||||||
|
|
||||||
|
System.out.println(liste[i]);
|
||||||
|
System.out.println(i);
|
||||||
|
repertoire2 = new File("../ressources/" + liste[i]);
|
||||||
|
|
||||||
|
if (repertoire.isDirectory() == false) {
|
||||||
|
if (liste[i] == "Plateau.fxml") {
|
||||||
|
Pane root1 = FXMLLoader.load(getClass().getResource("../ressources/" + liste[i]));
|
||||||
|
root1.setStyle("../ressources/style/plateau.css");
|
||||||
|
|
||||||
|
}
|
||||||
|
Pane root1 = FXMLLoader.load(getClass().getResource("../ressources/" + liste[i]));
|
||||||
|
root1.setStyle("../ressources/style/menuLight.css");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}*/
|
||||||
|
|
||||||
|
soundEffects.playSoundEffect("src//ihm//ressources//musique//BEEP1.wav"); //emet un bruit sur le bouton si les effets sonores sont activés
|
||||||
|
|
||||||
|
// Quitter les paramètres
|
||||||
|
final URL fxmlURL = getClass().getResource("../ressources/Menu.fxml");
|
||||||
|
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||||
Pane pane = fxmlLoader.load();
|
Pane pane = fxmlLoader.load();
|
||||||
|
|
||||||
rootPane.getChildren().setAll(pane);
|
rootPane.getChildren().setAll(pane);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//getters and setters
|
||||||
|
public EffetSonore getSoundEffects() {
|
||||||
|
return soundEffects;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSoundEffects(EffetSonore soundEffects) {
|
||||||
|
this.soundEffects = soundEffects;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -260,4 +260,4 @@ public class PlateauController implements Initializable {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -125,7 +125,7 @@ public class PlayersController implements Initializable{
|
|||||||
final URL fxmlURL = getClass().getResource("../ressources/PlateauTest.fxml");
|
final URL fxmlURL = getClass().getResource("../ressources/PlateauTest.fxml");
|
||||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRENCH);
|
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRENCH);
|
||||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||||
Parent root = fxmlLoader.load();
|
AnchorPane root = fxmlLoader.load();
|
||||||
PlateauController pc = fxmlLoader.getController();
|
PlateauController pc = fxmlLoader.getController();
|
||||||
|
|
||||||
gj.setPlateauController(pc);
|
gj.setPlateauController(pc);
|
||||||
|
@ -2,23 +2,20 @@
|
|||||||
|
|
||||||
<?import javafx.scene.control.Button?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.image.ImageView?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
<?import javafx.scene.text.Font?>
|
|
||||||
|
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="625.0" prefWidth="947.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<Button layoutX="156.0" layoutY="180.0" lineSpacing="2.0" mnemonicParsing="false" prefHeight="277.0" prefWidth="184.0" text="Avènement suprême Barre de chocolat" wrapText="true">
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<font>
|
<children>
|
||||||
<Font size="18.0" />
|
<Label layoutX="139.0" layoutY="35.0" prefHeight="21.0" prefWidth="72.0" text="%effet.carte" />
|
||||||
</font>
|
<Button layoutX="128.0" layoutY="128.0" mnemonicParsing="false" prefHeight="29.0" prefWidth="119.0" text="%reveler.et.soigner" />
|
||||||
</Button>
|
<Button layoutX="143.0" layoutY="78.0" mnemonicParsing="false" prefHeight="27.0" prefWidth="94.0" text="%rien.faire" />
|
||||||
<Button layoutX="387.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="195.0" text="%reveler.et.soigner" />
|
<ImageView fitHeight="97.8" fitWidth="70.05" layoutX="25.0" layoutY="51.0" pickOnBounds="true" preserveRatio="true" />
|
||||||
<Button layoutX="628.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="171.0" text="%rien.faire" />
|
</children>
|
||||||
<Label layoutX="414.0" layoutY="147.0" prefHeight="89.0" prefWidth="249.0" text="%effet.carte">
|
</Pane>
|
||||||
<font>
|
|
||||||
<Font size="52.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -2,23 +2,20 @@
|
|||||||
|
|
||||||
<?import javafx.scene.control.Button?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.image.ImageView?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
<?import javafx.scene.text.Font?>
|
|
||||||
|
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="625.0" prefWidth="947.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<Button layoutX="156.0" layoutY="180.0" lineSpacing="2.0" mnemonicParsing="false" prefHeight="277.0" prefWidth="184.0" text="Avènement suprême Barre de chocolat" wrapText="true">
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<font>
|
<children>
|
||||||
<Font size="18.0" />
|
<Label layoutX="139.0" layoutY="35.0" prefHeight="21.0" prefWidth="72.0" text="%effet.carte" />
|
||||||
</font>
|
<Button layoutX="128.0" layoutY="128.0" mnemonicParsing="false" prefHeight="29.0" prefWidth="119.0" text="%reveler.et.soigner" />
|
||||||
</Button>
|
<Button layoutX="143.0" layoutY="78.0" mnemonicParsing="false" prefHeight="27.0" prefWidth="94.0" text="%rien.faire" />
|
||||||
<Button layoutX="387.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="195.0" text="%reveler.et.soigner" />
|
<ImageView fitHeight="97.8" fitWidth="70.05" layoutX="25.0" layoutY="51.0" pickOnBounds="true" preserveRatio="true" />
|
||||||
<Button layoutX="628.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="171.0" text="%rien.faire" />
|
</children>
|
||||||
<Label layoutX="414.0" layoutY="147.0" prefHeight="89.0" prefWidth="249.0" text="%effet.carte">
|
</Pane>
|
||||||
<font>
|
|
||||||
<Font size="52.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -2,34 +2,60 @@
|
|||||||
|
|
||||||
<?import javafx.scene.control.Button?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.image.ImageView?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
<?import javafx.scene.text.Font?>
|
<?import javafx.scene.text.Font?>
|
||||||
|
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="638.0" prefWidth="951.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<Button layoutX="73.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur1" />
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<Button layoutX="298.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur2" />
|
<children>
|
||||||
<Button layoutX="515.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur3" />
|
<Button layoutY="4.0" mnemonicParsing="false" text="%joueur1">
|
||||||
<Button layoutX="745.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur4" />
|
<font>
|
||||||
<Button layoutX="73.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur5" />
|
<Font size="10.0" />
|
||||||
<Button layoutX="298.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur6" />
|
</font>
|
||||||
<Button layoutX="515.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur7" />
|
</Button>
|
||||||
<Button layoutX="745.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur8" />
|
<Button layoutX="65.0" layoutY="4.0" mnemonicParsing="false" text="%joueur2">
|
||||||
<Button layoutX="177.0" layoutY="134.0" mnemonicParsing="false" prefHeight="327.0" prefWidth="173.0" text="%benediction">
|
<font>
|
||||||
<font>
|
<Font size="10.0" />
|
||||||
<Font size="23.0" />
|
</font>
|
||||||
</font>
|
</Button>
|
||||||
</Button>
|
<Button layoutX="128.0" layoutY="4.0" mnemonicParsing="false" text="%joueur3">
|
||||||
<Label layoutX="524.0" layoutY="134.0" prefHeight="105.0" prefWidth="254.0" text="%effet.carte">
|
<font>
|
||||||
<font>
|
<Font size="10.0" />
|
||||||
<Font size="37.0" />
|
</font>
|
||||||
</font>
|
</Button>
|
||||||
</Label>
|
<Button layoutY="153.0" mnemonicParsing="false" text="%joueur5">
|
||||||
<Label layoutX="438.0" layoutY="306.0" prefHeight="115.0" prefWidth="385.0" text="%choisir.joueur.soigner" wrapText="true">
|
<font>
|
||||||
<font>
|
<Font size="10.0" />
|
||||||
<Font size="35.0" />
|
</font>
|
||||||
</font>
|
</Button>
|
||||||
</Label>
|
<Button layoutX="65.0" layoutY="153.0" mnemonicParsing="false" text="%joueur6">
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Label layoutX="121.0" layoutY="102.0" text="%choisir.joueur.soigner" wrapText="true" />
|
||||||
|
<Button layoutX="188.0" layoutY="4.0" mnemonicParsing="false" text="%joueur4">
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button layoutX="128.0" layoutY="153.0" mnemonicParsing="false" text="%joueur7">
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button layoutX="188.0" layoutY="153.0" mnemonicParsing="false" text="%joueur8">
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Label layoutX="165.0" layoutY="46.0" text="%effet.carte" />
|
||||||
|
<ImageView fitHeight="97.8" fitWidth="70.05" layoutX="28.0" layoutY="36.0" pickOnBounds="true" preserveRatio="true" />
|
||||||
|
</children>
|
||||||
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -2,22 +2,18 @@
|
|||||||
|
|
||||||
<?import javafx.scene.control.Button?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
<?import javafx.scene.text.Font?>
|
|
||||||
|
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<Label layoutX="137.0" layoutY="100.0" prefHeight="46.0" prefWidth="362.0" text="%joueur1.soigne.joueur2">
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<font>
|
<children>
|
||||||
<Font size="29.0" />
|
<Label layoutX="62.0" layoutY="14.0" text="%joueur1.soigne.joueur2" />
|
||||||
</font>
|
<Button layoutX="80.0" layoutY="141.0" mnemonicParsing="false" text="%lancer.de.des" />
|
||||||
</Label>
|
<Pane layoutX="79.0" layoutY="42.0" prefHeight="96.0" prefWidth="96.0" />
|
||||||
<Button layoutX="246.0" layoutY="175.0" mnemonicParsing="false" prefHeight="100.0" prefWidth="109.0" text="6">
|
</children>
|
||||||
<font>
|
</Pane>
|
||||||
<Font size="47.0" />
|
|
||||||
</font>
|
|
||||||
</Button>
|
|
||||||
<Button layoutX="243.0" layoutY="313.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="116.0" text="%lancer.de.des" />
|
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -2,33 +2,60 @@
|
|||||||
|
|
||||||
<?import javafx.scene.control.Button?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.image.ImageView?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
<?import javafx.scene.text.Font?>
|
<?import javafx.scene.text.Font?>
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="638.0" prefWidth="951.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
|
||||||
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<Button layoutX="73.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur1" />
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<Button layoutX="298.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur2" />
|
<children>
|
||||||
<Button layoutX="515.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur3" />
|
<Button layoutY="1.0" mnemonicParsing="false" text="%joueur1">
|
||||||
<Button layoutX="745.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur4" />
|
<font>
|
||||||
<Button layoutX="73.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur5" />
|
<Font size="10.0" />
|
||||||
<Button layoutX="298.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur6" />
|
</font>
|
||||||
<Button layoutX="515.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur7" />
|
</Button>
|
||||||
<Button layoutX="745.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur8" />
|
<Button layoutX="66.0" layoutY="1.0" mnemonicParsing="false" text="%joueur2">
|
||||||
<Button layoutX="177.0" layoutY="134.0" mnemonicParsing="false" prefHeight="327.0" prefWidth="194.0" text="%premier.secours">
|
<font>
|
||||||
<font>
|
<Font size="10.0" />
|
||||||
<Font size="23.0" />
|
</font>
|
||||||
</font>
|
</Button>
|
||||||
</Button>
|
<Button layoutX="134.0" layoutY="1.0" mnemonicParsing="false" text="%joueur3">
|
||||||
<Label layoutX="524.0" layoutY="134.0" prefHeight="105.0" prefWidth="254.0" text="%effet.carte">
|
<font>
|
||||||
<font>
|
<Font size="10.0" />
|
||||||
<Font size="37.0" />
|
</font>
|
||||||
</font>
|
</Button>
|
||||||
</Label>
|
<Button layoutX="1.0" layoutY="153.0" mnemonicParsing="false" text="%joueur5">
|
||||||
<Label layoutX="438.0" layoutY="306.0" prefHeight="115.0" prefWidth="385.0" text="%choisr.joueur" wrapText="true">
|
<font>
|
||||||
<font>
|
<Font size="10.0" />
|
||||||
<Font size="35.0" />
|
</font>
|
||||||
</font>
|
</Button>
|
||||||
</Label>
|
<Button layoutX="195.0" layoutY="153.0" mnemonicParsing="false" text="%joueur8">
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Label layoutX="163.0" layoutY="47.0" text="%effet.carte" />
|
||||||
|
<Label layoutX="156.0" layoutY="96.0" text="%choisr.joueur" wrapText="true" />
|
||||||
|
<Button layoutX="194.0" layoutY="1.0" mnemonicParsing="false" text="%joueur4">
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button layoutX="67.0" layoutY="153.0" mnemonicParsing="false" text="%joueur6">
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button layoutX="135.0" layoutY="153.0" mnemonicParsing="false" text="%joueur7">
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<ImageView fitHeight="97.8" fitWidth="70.05" layoutX="30.0" layoutY="38.0" pickOnBounds="true" preserveRatio="true" />
|
||||||
|
</children>
|
||||||
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -1,92 +1,112 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import javafx.geometry.*?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import javafx.scene.text.*?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.shape.*?>
|
<?import javafx.scene.image.ImageView?>
|
||||||
<?import java.lang.*?>
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.control.*?>
|
<?import javafx.scene.layout.HBox?>
|
||||||
<?import javafx.scene.layout.*?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
|
<?import javafx.scene.layout.VBox?>
|
||||||
|
<?import javafx.scene.text.Font?>
|
||||||
|
<?import javafx.scene.text.Text?>
|
||||||
|
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="525.0" prefWidth="806.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<VBox prefHeight="525.0" prefWidth="806.0">
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<children>
|
<children>
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
<VBox prefHeight="180.0" prefWidth="255.0">
|
||||||
<children>
|
<children>
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur1" textAlignment="CENTER">
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur2">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur3">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur4">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
</children>
|
|
||||||
</HBox>
|
|
||||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="200.0" stroke="BLACK" strokeType="INSIDE" width="168.0">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets bottom="30.0" right="50.0" top="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Rectangle>
|
|
||||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
|
||||||
<children>
|
<children>
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%effet.carte" textAlignment="CENTER">
|
<Button alignment="CENTER" mnemonicParsing="false" text="%joueur1" textAlignment="CENTER">
|
||||||
<VBox.margin>
|
<HBox.margin>
|
||||||
<Insets bottom="55.0" />
|
<Insets right="4.0" />
|
||||||
</VBox.margin>
|
</HBox.margin>
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="10.0" />
|
||||||
</font>
|
</font>
|
||||||
</Text>
|
</Button>
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%choisir.joueur.infliger.blessures" textAlignment="CENTER">
|
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" text="%joueur2">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="10.0" />
|
||||||
</font>
|
</font>
|
||||||
</Text>
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" text="%joueur3">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" text="%joueur4">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</HBox>
|
||||||
|
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0">
|
||||||
|
<children>
|
||||||
|
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true" />
|
||||||
|
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0" stylesheets="@style/popUp.css">
|
||||||
|
<children>
|
||||||
|
<Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="%effet.carte" textAlignment="CENTER">
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets bottom="20.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
</Text>
|
||||||
|
<Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="%choisir.joueur.infliger.blessures" textAlignment="CENTER" />
|
||||||
|
</children>
|
||||||
|
</VBox>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox alignment="CENTER" layoutX="10.0" layoutY="110.0" prefHeight="100.0" prefWidth="200.0">
|
||||||
|
<children>
|
||||||
|
<Button alignment="CENTER" mnemonicParsing="false" text="%joueur5" textAlignment="CENTER">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" text="%joueur6">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" text="%joueur7">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" text="%joueur8">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</VBox>
|
||||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="110.0" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur5" textAlignment="CENTER">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur6">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur7">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur8">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
</children>
|
|
||||||
</HBox>
|
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -1,92 +1,112 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import javafx.geometry.*?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import javafx.scene.text.*?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.shape.*?>
|
<?import javafx.scene.image.ImageView?>
|
||||||
<?import java.lang.*?>
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.control.*?>
|
<?import javafx.scene.layout.HBox?>
|
||||||
<?import javafx.scene.layout.*?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
|
<?import javafx.scene.layout.VBox?>
|
||||||
|
<?import javafx.scene.text.Font?>
|
||||||
|
<?import javafx.scene.text.Text?>
|
||||||
|
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="525.0" prefWidth="806.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<VBox prefHeight="525.0" prefWidth="806.0">
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<children>
|
<children>
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
<VBox prefHeight="180.0" prefWidth="255.0">
|
||||||
<children>
|
<children>
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur1" textAlignment="CENTER">
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur2">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur3">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur4">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
</children>
|
|
||||||
</HBox>
|
|
||||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="200.0" stroke="BLACK" strokeType="INSIDE" width="168.0">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets bottom="30.0" right="50.0" top="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Rectangle>
|
|
||||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
|
||||||
<children>
|
<children>
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%effet.carte" textAlignment="CENTER">
|
<Button alignment="CENTER" mnemonicParsing="false" text="%joueur1" textAlignment="CENTER">
|
||||||
<VBox.margin>
|
<HBox.margin>
|
||||||
<Insets bottom="55.0" />
|
<Insets right="4.0" />
|
||||||
</VBox.margin>
|
</HBox.margin>
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="10.0" />
|
||||||
</font>
|
</font>
|
||||||
</Text>
|
</Button>
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%choisir.joueur.infliger.blessures" textAlignment="CENTER">
|
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" text="%joueur2">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="10.0" />
|
||||||
</font>
|
</font>
|
||||||
</Text>
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" text="%joueur3">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" text="%joueur4">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</HBox>
|
||||||
|
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0">
|
||||||
|
<children>
|
||||||
|
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true" />
|
||||||
|
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0" stylesheets="@style/popUp.css">
|
||||||
|
<children>
|
||||||
|
<Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="%effet.carte" textAlignment="CENTER">
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets bottom="20.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
</Text>
|
||||||
|
<Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="%choisir.joueur.infliger.blessures" textAlignment="CENTER" />
|
||||||
|
</children>
|
||||||
|
</VBox>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox alignment="CENTER" layoutX="10.0" layoutY="110.0" prefHeight="100.0" prefWidth="200.0">
|
||||||
|
<children>
|
||||||
|
<Button alignment="CENTER" mnemonicParsing="false" text="%joueur5" textAlignment="CENTER">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" text="%joueur6">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" text="%joueur7">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" text="%joueur8">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</VBox>
|
||||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="110.0" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur5" textAlignment="CENTER">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur6">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur7">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur8">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
</children>
|
|
||||||
</HBox>
|
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -1,60 +1,53 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import javafx.geometry.*?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import javafx.scene.text.*?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.shape.*?>
|
<?import javafx.scene.control.Label?>
|
||||||
<?import java.lang.*?>
|
<?import javafx.scene.image.ImageView?>
|
||||||
<?import javafx.scene.control.*?>
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.*?>
|
<?import javafx.scene.layout.HBox?>
|
||||||
|
<?import javafx.scene.layout.Pane?>
|
||||||
|
<?import javafx.scene.layout.VBox?>
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="525.0" prefWidth="806.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
|
||||||
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<HBox alignment="CENTER" layoutX="-1.0" layoutY="-7.0" prefHeight="533.0" prefWidth="806.0">
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<children>
|
<children>
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#c6c6c6" height="298.0" stroke="BLACK" strokeType="INSIDE" width="188.0" />
|
<HBox alignment="CENTER" layoutX="-1.0" layoutY="3.0" prefHeight="174.0" prefWidth="255.0">
|
||||||
<VBox alignment="CENTER" prefHeight="351.0" prefWidth="293.0">
|
|
||||||
<children>
|
<children>
|
||||||
<Label text="%effet.carte">
|
<VBox alignment="CENTER" prefHeight="165.0" prefWidth="255.0">
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets bottom="50.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Label>
|
|
||||||
<HBox prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
<children>
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="103.0" stroke="BLACK" strokeType="INSIDE" width="107.0">
|
<Label text="%effet.carte">
|
||||||
<HBox.margin>
|
<VBox.margin>
|
||||||
<Insets left="50.0" />
|
<Insets bottom="5.0" />
|
||||||
</HBox.margin>
|
</VBox.margin>
|
||||||
</Rectangle>
|
</Label>
|
||||||
<Polygon fill="WHITE" stroke="BLACK" strokeType="INSIDE">
|
<HBox prefHeight="100.0" prefWidth="200.0">
|
||||||
<points>
|
<children>
|
||||||
<Double fx:value="-50.0" />
|
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||||
<Double fx:value="40.0" />
|
<HBox.margin>
|
||||||
<Double fx:value="50.0" />
|
<Insets right="20.0" />
|
||||||
<Double fx:value="40.0" />
|
</HBox.margin>
|
||||||
<Double fx:value="0.0" />
|
</ImageView>
|
||||||
<Double fx:value="-60.0" />
|
<Pane>
|
||||||
</points>
|
<HBox.margin>
|
||||||
<HBox.margin>
|
<Insets right="20.0" />
|
||||||
<Insets left="20.0" />
|
</HBox.margin>
|
||||||
</HBox.margin>
|
</Pane>
|
||||||
</Polygon>
|
<Pane />
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<Button mnemonicParsing="false" text="%lancer.de.des">
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets top="5.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
</Button>
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</VBox>
|
||||||
<Button mnemonicParsing="false" prefHeight="45.0" prefWidth="135.0" text="%lancer.de.des">
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="50.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Button>
|
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</HBox>
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -1,121 +1,143 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import javafx.geometry.*?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import javafx.scene.text.*?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.shape.*?>
|
<?import javafx.scene.image.ImageView?>
|
||||||
<?import java.lang.*?>
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.control.*?>
|
<?import javafx.scene.layout.HBox?>
|
||||||
<?import javafx.scene.layout.*?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
|
<?import javafx.scene.layout.VBox?>
|
||||||
|
<?import javafx.scene.text.Font?>
|
||||||
|
<?import javafx.scene.text.Text?>
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="525.0" prefWidth="806.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
|
||||||
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<VBox prefHeight="525.0" prefWidth="806.0">
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<children>
|
<children>
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
<VBox prefHeight="170.0" prefWidth="252.0">
|
||||||
<children>
|
<children>
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur1" textAlignment="CENTER">
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur2">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur3">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur4">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
</children>
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="20.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</HBox>
|
|
||||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="200.0" stroke="BLACK" strokeType="INSIDE" width="168.0">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets bottom="30.0" left="60.0" right="50.0" top="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Rectangle>
|
|
||||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
|
||||||
<children>
|
<children>
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%effet.carte" textAlignment="CENTER">
|
<Button alignment="CENTER" mnemonicParsing="false" text="%joueur1" textAlignment="CENTER">
|
||||||
<VBox.margin>
|
<HBox.margin>
|
||||||
<Insets bottom="30.0" top="50.0" />
|
<Insets right="4.0" />
|
||||||
</VBox.margin>
|
</HBox.margin>
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="10.0" />
|
||||||
</font>
|
</font>
|
||||||
</Text>
|
</Button>
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement.a.donner" textAlignment="CENTER">
|
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" text="%joueur2">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="10.0" />
|
||||||
</font>
|
</font>
|
||||||
<VBox.margin>
|
</Button>
|
||||||
<Insets bottom="30.0" />
|
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" text="%joueur3">
|
||||||
</VBox.margin>
|
<HBox.margin>
|
||||||
</Text>
|
<Insets right="4.0" />
|
||||||
<HBox prefHeight="100.0" prefWidth="200.0">
|
</HBox.margin>
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="150.0" stroke="BLACK" strokeType="INSIDE" width="100.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="150.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="100.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="150.0" layoutX="178.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="100.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="150.0" layoutX="346.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="100.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="150.0" layoutX="514.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="100.0" />
|
|
||||||
</children>
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets bottom="55.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</HBox>
|
|
||||||
<Text layoutX="10.0" layoutY="187.0" strokeType="OUTSIDE" strokeWidth="0.0" text="%joueur.a.qui.donner.carte.equipement" textAlignment="CENTER">
|
|
||||||
<font>
|
<font>
|
||||||
<Font size="18.0" />
|
<Font size="10.0" />
|
||||||
</font>
|
</font>
|
||||||
<VBox.margin>
|
</Button>
|
||||||
<Insets bottom="30.0" />
|
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" text="%joueur4">
|
||||||
</VBox.margin>
|
<HBox.margin>
|
||||||
</Text>
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
<VBox.margin>
|
||||||
<HBox prefHeight="100.0" prefWidth="200.0" />
|
<Insets top="5.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
</HBox>
|
||||||
|
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0">
|
||||||
|
<children>
|
||||||
|
<ImageView fitHeight="52.0" fitWidth="37.0" pickOnBounds="true" preserveRatio="true">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="10.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</ImageView>
|
||||||
|
<VBox alignment="CENTER" prefHeight="148.0" prefWidth="110.0">
|
||||||
|
<children>
|
||||||
|
<Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="%effet.carte" textAlignment="CENTER">
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets bottom="5.0" top="5.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
</Text>
|
||||||
|
<Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement.a.donner" textAlignment="CENTER">
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets bottom="5.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
</Text>
|
||||||
|
<HBox alignment="CENTER">
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets bottom="5.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
<children>
|
||||||
|
<ImageView fitHeight="48.9" fitWidth="35.025" pickOnBounds="true" preserveRatio="true" />
|
||||||
|
<ImageView fitHeight="48.9" fitWidth="35.025" pickOnBounds="true" preserveRatio="true" />
|
||||||
|
<ImageView fitHeight="48.9" fitWidth="35.025" pickOnBounds="true" preserveRatio="true" />
|
||||||
|
<ImageView fitHeight="48.9" fitWidth="35.025" pickOnBounds="true" preserveRatio="true" />
|
||||||
|
<ImageView fitHeight="48.9" fitWidth="35.025" pickOnBounds="true" preserveRatio="true" />
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<Text fill="WHITE" layoutX="10.0" layoutY="187.0" strokeType="OUTSIDE" strokeWidth="0.0" text="%joueur.a.qui.donner.carte.equipement" textAlignment="CENTER">
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets bottom="5.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
</Text>
|
||||||
|
</children>
|
||||||
|
</VBox>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
<HBox alignment="CENTER" layoutX="10.0" layoutY="110.0" prefHeight="23.0" prefWidth="243.0">
|
||||||
|
<children>
|
||||||
|
<Button alignment="CENTER" mnemonicParsing="false" text="%joueur5" textAlignment="CENTER">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" text="%joueur6">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" text="%joueur7">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" text="%joueur8">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="4.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
<font>
|
||||||
|
<Font size="10.0" />
|
||||||
|
</font>
|
||||||
|
</Button>
|
||||||
|
</children>
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets />
|
||||||
|
</VBox.margin>
|
||||||
|
</HBox>
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</VBox>
|
||||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="110.0" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur5" textAlignment="CENTER">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur6">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur7">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur8">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
</children>
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets bottom="20.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</HBox>
|
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -1,47 +1,44 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import javafx.geometry.*?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import javafx.scene.text.*?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.shape.*?>
|
<?import javafx.scene.control.Label?>
|
||||||
<?import java.lang.*?>
|
<?import javafx.scene.image.ImageView?>
|
||||||
<?import javafx.scene.control.*?>
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.*?>
|
<?import javafx.scene.layout.HBox?>
|
||||||
|
<?import javafx.scene.layout.Pane?>
|
||||||
|
<?import javafx.scene.layout.VBox?>
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="525.0" prefWidth="806.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
|
||||||
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<HBox alignment="CENTER" layoutX="-1.0" layoutY="-7.0" prefHeight="533.0" prefWidth="806.0">
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<children>
|
<children>
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#c6c6c6" height="298.0" stroke="BLACK" strokeType="INSIDE" width="188.0" />
|
<HBox alignment="CENTER" layoutX="-1.0" layoutY="1.0" prefHeight="180.0" prefWidth="255.0">
|
||||||
<VBox alignment="CENTER" prefHeight="351.0" prefWidth="293.0">
|
|
||||||
<children>
|
<children>
|
||||||
<Label text="%effet.carte">
|
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||||
<font>
|
<HBox.margin>
|
||||||
<Font size="18.0" />
|
<Insets left="5.0" />
|
||||||
</font>
|
</HBox.margin>
|
||||||
<VBox.margin>
|
</ImageView>
|
||||||
<Insets bottom="50.0" />
|
<VBox alignment="CENTER" prefHeight="351.0" prefWidth="293.0">
|
||||||
</VBox.margin>
|
|
||||||
</Label>
|
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
<children>
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="103.0" stroke="BLACK" strokeType="INSIDE" width="107.0">
|
<Label text="%effet.carte">
|
||||||
<HBox.margin>
|
<VBox.margin>
|
||||||
<Insets left="20.0" />
|
<Insets bottom="5.0" />
|
||||||
</HBox.margin>
|
</VBox.margin>
|
||||||
</Rectangle>
|
</Label>
|
||||||
|
<Pane />
|
||||||
|
<Button mnemonicParsing="false" text="%lancer.de.des">
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets top="5.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
</Button>
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</VBox>
|
||||||
<Button mnemonicParsing="false" prefHeight="45.0" prefWidth="135.0" text="%lancer.de.des">
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="50.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Button>
|
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</HBox>
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
51
src/ihm/ressources/Cartes_tenebres_rituel_diabolique.fxml
Normal file
51
src/ihm/ressources/Cartes_tenebres_rituel_diabolique.fxml
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<?import javafx.geometry.Insets?>
|
||||||
|
<?import javafx.scene.control.Button?>
|
||||||
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.image.ImageView?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
|
<?import javafx.scene.layout.HBox?>
|
||||||
|
<?import javafx.scene.layout.Pane?>
|
||||||
|
<?import javafx.scene.layout.VBox?>
|
||||||
|
|
||||||
|
|
||||||
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
|
<children>
|
||||||
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
|
<children>
|
||||||
|
<HBox alignment="CENTER" layoutX="-1.0" prefHeight="180.0" prefWidth="255.0">
|
||||||
|
<children>
|
||||||
|
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets left="5.0" />
|
||||||
|
</HBox.margin>
|
||||||
|
</ImageView>
|
||||||
|
<VBox alignment="CENTER" prefHeight="533.0" prefWidth="753.0">
|
||||||
|
<children>
|
||||||
|
<Label text="%effet.carte">
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets bottom="10.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
</Label>
|
||||||
|
<VBox alignment="CENTER">
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets left="10.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
<children>
|
||||||
|
<Button mnemonicParsing="false" text="%rien.faire" />
|
||||||
|
<Button mnemonicParsing="false" text="%reveler.et.soigner">
|
||||||
|
<VBox.margin>
|
||||||
|
<Insets top="5.0" />
|
||||||
|
</VBox.margin>
|
||||||
|
</Button>
|
||||||
|
</children>
|
||||||
|
</VBox>
|
||||||
|
</children>
|
||||||
|
</VBox>
|
||||||
|
</children>
|
||||||
|
</HBox>
|
||||||
|
</children>
|
||||||
|
</Pane>
|
||||||
|
</children>
|
||||||
|
</AnchorPane>
|
@ -1,54 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
|
|
||||||
<?import javafx.geometry.*?>
|
|
||||||
<?import javafx.scene.text.*?>
|
|
||||||
<?import javafx.scene.shape.*?>
|
|
||||||
<?import java.lang.*?>
|
|
||||||
<?import javafx.scene.control.*?>
|
|
||||||
<?import javafx.scene.layout.*?>
|
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="525.0" prefWidth="806.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
|
||||||
<children>
|
|
||||||
<HBox alignment="CENTER" layoutX="-1.0" layoutY="-7.0" prefHeight="533.0" prefWidth="806.0">
|
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#c6c6c6" height="298.0" stroke="BLACK" strokeType="INSIDE" width="188.0">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets left="50.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Rectangle>
|
|
||||||
<VBox alignment="CENTER" prefHeight="533.0" prefWidth="753.0">
|
|
||||||
<children>
|
|
||||||
<Label text="%effet.carte">
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets bottom="50.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Label>
|
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="338.0">
|
|
||||||
<children>
|
|
||||||
<Button mnemonicParsing="false" prefHeight="48.0" prefWidth="333.0" text="%reveler.et.soigner">
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Button>
|
|
||||||
<Button layoutX="89.0" layoutY="38.0" mnemonicParsing="false" prefHeight="45.0" prefWidth="289.0" text="%rien.faire">
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets left="5.0" right="10.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Button>
|
|
||||||
</children>
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets left="10.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</HBox>
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
</children>
|
|
||||||
</HBox>
|
|
||||||
</children>
|
|
||||||
</Pane>
|
|
@ -1,232 +1,38 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import javafx.scene.paint.*?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import javafx.geometry.*?>
|
<?import javafx.scene.image.ImageView?>
|
||||||
<?import javafx.scene.text.*?>
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.shape.*?>
|
<?import javafx.scene.layout.HBox?>
|
||||||
<?import java.lang.*?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
<?import javafx.scene.control.*?>
|
<?import javafx.scene.layout.VBox?>
|
||||||
<?import javafx.scene.layout.*?>
|
<?import javafx.scene.text.Text?>
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="542.0" prefWidth="1072.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
|
||||||
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<VBox prefHeight="542.0" prefWidth="1072.0">
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<children>
|
<children>
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
<VBox prefHeight="180.0" prefWidth="255.0">
|
||||||
<children>
|
<children>
|
||||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="260.0" prefWidth="928.0">
|
||||||
<children>
|
<children>
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true" />
|
||||||
|
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
||||||
<children>
|
<children>
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
<Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="%effet.carte" textAlignment="CENTER">
|
||||||
<HBox.margin>
|
<VBox.margin>
|
||||||
<Insets left="40.0" />
|
<Insets bottom="10.0" />
|
||||||
</HBox.margin>
|
</VBox.margin>
|
||||||
</Rectangle>
|
</Text>
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
<Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="%choisir.equipement.a.voler" textAlignment="CENTER" />
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="20.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Rectangle>
|
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</VBox>
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
|
||||||
<font>
|
|
||||||
<Font size="13.0" />
|
|
||||||
</font>
|
|
||||||
</Text>
|
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</HBox>
|
||||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
|
||||||
<children>
|
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="20.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Rectangle>
|
|
||||||
</children>
|
|
||||||
</HBox>
|
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
|
||||||
<font>
|
|
||||||
<Font size="13.0" />
|
|
||||||
</font>
|
|
||||||
</Text>
|
|
||||||
</children>
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets />
|
|
||||||
</HBox.margin>
|
|
||||||
</VBox>
|
|
||||||
<VBox alignment="CENTER" layoutX="242.0" layoutY="10.0" prefHeight="200.0" prefWidth="100.0">
|
|
||||||
<children>
|
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets />
|
|
||||||
</HBox.margin>
|
|
||||||
</Rectangle>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
</children>
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets right="20.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</HBox>
|
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
|
||||||
<font>
|
|
||||||
<Font size="13.0" />
|
|
||||||
</font>
|
|
||||||
</Text>
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
<VBox alignment="CENTER" layoutX="636.0" layoutY="10.0" prefHeight="200.0" prefWidth="100.0">
|
|
||||||
<children>
|
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
</children>
|
|
||||||
</HBox>
|
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
|
||||||
<font>
|
|
||||||
<Font size="13.0" />
|
|
||||||
</font>
|
|
||||||
</Text>
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</VBox>
|
||||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="260.0" prefWidth="1050.0">
|
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="200.0" stroke="BLACK" strokeType="INSIDE" width="168.0">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets bottom="30.0" right="50.0" top="30.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Rectangle>
|
|
||||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
|
||||||
<children>
|
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%effet.carte" textAlignment="CENTER">
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets bottom="55.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Text>
|
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%choisir.equipement.a.voler" textAlignment="CENTER">
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Text>
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
</children>
|
|
||||||
</HBox>
|
|
||||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
|
||||||
<children>
|
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets left="40.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Rectangle>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="20.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Rectangle>
|
|
||||||
</children>
|
|
||||||
</HBox>
|
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
|
||||||
<font>
|
|
||||||
<Font size="13.0" />
|
|
||||||
</font>
|
|
||||||
</Text>
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
|
||||||
<children>
|
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets right="20.0" />
|
|
||||||
</HBox.margin>
|
|
||||||
</Rectangle>
|
|
||||||
</children>
|
|
||||||
</HBox>
|
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
|
||||||
<font>
|
|
||||||
<Font size="13.0" />
|
|
||||||
</font>
|
|
||||||
</Text>
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
<VBox alignment="CENTER" layoutX="242.0" layoutY="10.0" prefHeight="200.0" prefWidth="100.0">
|
|
||||||
<children>
|
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
|
||||||
<HBox.margin>
|
|
||||||
<Insets />
|
|
||||||
</HBox.margin>
|
|
||||||
</Rectangle>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
</children>
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets right="20.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</HBox>
|
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
|
||||||
<font>
|
|
||||||
<Font size="13.0" />
|
|
||||||
</font>
|
|
||||||
</Text>
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
<VBox alignment="CENTER" layoutX="636.0" layoutY="10.0" prefHeight="200.0" prefWidth="100.0">
|
|
||||||
<children>
|
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
|
||||||
</children>
|
|
||||||
</HBox>
|
|
||||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
|
||||||
<font>
|
|
||||||
<Font size="13.0" />
|
|
||||||
</font>
|
|
||||||
</Text>
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
</children>
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="80.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</HBox>
|
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -2,41 +2,21 @@
|
|||||||
|
|
||||||
<?import javafx.scene.control.Button?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
<?import javafx.scene.shape.Polygon?>
|
|
||||||
<?import javafx.scene.shape.Rectangle?>
|
|
||||||
<?import javafx.scene.text.Font?>
|
|
||||||
|
|
||||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="480.0" prefWidth="640.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.JouerSonTour4Controller">
|
|
||||||
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<Label layoutX="284.0" layoutY="31.0" text="attaque">
|
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<font>
|
<children>
|
||||||
<Font size="36.0" />
|
<Label layoutX="107.0" layoutY="23.0" text="attaque" />
|
||||||
</font>
|
<Button layoutX="78.0" layoutY="144.0" mnemonicParsing="false" text="%lancer.de.des" />
|
||||||
</Label>
|
<Label layoutX="161.0" layoutY="23.0" text="%joueur2" />
|
||||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="173.0" layoutX="117.0" layoutY="151.0" stroke="BLACK" strokeType="INSIDE" width="173.0" />
|
<Label layoutX="46.0" layoutY="23.0" text="%joueur3" />
|
||||||
<Polygon fill="WHITE" layoutX="434.0" layoutY="218.0" points="-75.79998779296875, 98.80001831054688, 97.0, 98.80001831054688, 8.20001220703125, -59.199981689453125" stroke="BLACK" strokeType="INSIDE" />
|
<Pane layoutX="40.0" layoutY="49.0" prefHeight="85.0" prefWidth="85.0" stylesheets="@style/plateau.css" />
|
||||||
<Button layoutX="267.0" layoutY="387.0" mnemonicParsing="false" text="%lancer.de.des">
|
<Pane layoutX="144.0" layoutY="49.0" prefHeight="85.0" prefWidth="85.0" />
|
||||||
<font>
|
</children>
|
||||||
<Font size="14.0" />
|
</Pane>
|
||||||
</font></Button>
|
|
||||||
<Label layoutX="186.0" layoutY="191.0" styleClass="des" text="6">
|
|
||||||
<font>
|
|
||||||
<Font size="64.0" />
|
|
||||||
</font></Label>
|
|
||||||
<Label layoutX="427.0" layoutY="204.0" styleClass="des" text="4">
|
|
||||||
<font>
|
|
||||||
<Font size="64.0" />
|
|
||||||
</font></Label>
|
|
||||||
<Label layoutX="418.0" layoutY="31.0" text="%joueur2">
|
|
||||||
<font>
|
|
||||||
<Font size="36.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
<Label layoutX="136.0" layoutY="31.0" text="%joueur3">
|
|
||||||
<font>
|
|
||||||
<Font size="36.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -1,35 +1,29 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.HBox?>
|
<?import javafx.scene.layout.HBox?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
<?import javafx.scene.text.Font?>
|
<?import javafx.scene.text.Font?>
|
||||||
|
|
||||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="480.0" prefWidth="640.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.RecevoirBlessureController">
|
|
||||||
|
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||||
<children>
|
<children>
|
||||||
<HBox alignment="CENTER" layoutY="1.0" prefHeight="480.0" prefWidth="640.0">
|
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<children>
|
<children>
|
||||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="87.0" text="*Joueur x*" textAlignment="CENTER">
|
<HBox alignment="CENTER" layoutY="1.0" prefHeight="180.0" prefWidth="255.0">
|
||||||
<font>
|
<children>
|
||||||
<Font size="18.0" />
|
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="58.0" text="*Joueur x*" textAlignment="CENTER" />
|
||||||
</font>
|
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="41.0" text="%recoit" textAlignment="CENTER" />
|
||||||
</Label>
|
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="31.0" text="*n*" textAlignment="CENTER">
|
||||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="52.0" text="%recoit" textAlignment="CENTER">
|
<font>
|
||||||
<font>
|
<Font size="18.0" />
|
||||||
<Font size="18.0" />
|
</font>
|
||||||
</font>
|
</Label>
|
||||||
</Label>
|
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="59.0" text="%blessure" textAlignment="CENTER" />
|
||||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="31.0" text="*n*" textAlignment="CENTER">
|
</children>
|
||||||
<font>
|
</HBox>
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="82.0" text="%blessure" textAlignment="CENTER">
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
|
|
||||||
<?import javafx.scene.control.Button?>
|
|
||||||
<?import javafx.scene.control.Label?>
|
|
||||||
<?import javafx.scene.layout.Pane?>
|
|
||||||
<?import javafx.scene.text.Font?>
|
|
||||||
|
|
||||||
|
|
||||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="638.0" prefWidth="951.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
|
||||||
<children>
|
|
||||||
<Button layoutX="73.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur1" />
|
|
||||||
<Button layoutX="298.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur2" />
|
|
||||||
<Button layoutX="515.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur3" />
|
|
||||||
<Button layoutX="745.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur4" />
|
|
||||||
<Button layoutX="73.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur5" />
|
|
||||||
<Button layoutX="298.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur6" />
|
|
||||||
<Button layoutX="515.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur7" />
|
|
||||||
<Button layoutX="745.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="%joueur8" />
|
|
||||||
<Button layoutX="177.0" layoutY="134.0" mnemonicParsing="false" prefHeight="327.0" prefWidth="173.0" text="%benediction">
|
|
||||||
<font>
|
|
||||||
<Font size="23.0" />
|
|
||||||
</font>
|
|
||||||
</Button>
|
|
||||||
<Label layoutX="524.0" layoutY="134.0" prefHeight="105.0" prefWidth="254.0" text="%effet.carte">
|
|
||||||
<font>
|
|
||||||
<Font size="37.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
<Label layoutX="438.0" layoutY="306.0" prefHeight="115.0" prefWidth="385.0" text="%choisir.joueur.soigner" wrapText="true">
|
|
||||||
<font>
|
|
||||||
<Font size="35.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
</children>
|
|
||||||
</Pane>
|
|
BIN
src/ihm/ressources/musique/BEEP1.wav
Normal file
BIN
src/ihm/ressources/musique/BEEP1.wav
Normal file
Binary file not shown.
@ -17,7 +17,7 @@
|
|||||||
<children>
|
<children>
|
||||||
<CheckBox fx:id="clair" mnemonicParsing="false" styleClass="checkBox" text="%mode.claire" />
|
<CheckBox fx:id="clair" mnemonicParsing="false" styleClass="checkBox" text="%mode.claire" />
|
||||||
<CheckBox fx:id="cmusique" mnemonicParsing="false" styleClass="checkBox" text="%musique" />
|
<CheckBox fx:id="cmusique" mnemonicParsing="false" styleClass="checkBox" text="%musique" />
|
||||||
<CheckBox mnemonicParsing="false" styleClass="checkBox" text="%effet" />
|
<CheckBox fx:id="cbEffetSonore" mnemonicParsing="false" styleClass="checkBox" text="%effet" />
|
||||||
<VBox prefHeight="200.0" prefWidth="100.0" spacing="10.0">
|
<VBox prefHeight="200.0" prefWidth="100.0" spacing="10.0">
|
||||||
<children>
|
<children>
|
||||||
<Label styleClass="titre" text="%langue">
|
<Label styleClass="titre" text="%langue">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user