merge DB #4
This commit is contained in:
commit
7124e79df5
8
.idea/.gitignore
generated
vendored
Normal file
8
.idea/.gitignore
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
16
.idea/libraries/lib.xml
generated
Normal file
16
.idea/libraries/lib.xml
generated
Normal file
@ -0,0 +1,16 @@
|
||||
<component name="libraryTable">
|
||||
<library name="lib">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/javafx-swt.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javafx.controls.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javafx.web.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javafx.base.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javafx.fxml.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javafx.media.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javafx.graphics.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javafx.swing.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
10
.idea/libraries/lib1.xml
generated
Normal file
10
.idea/libraries/lib1.xml
generated
Normal file
@ -0,0 +1,10 @@
|
||||
<component name="libraryTable">
|
||||
<library name="lib1">
|
||||
<CLASSES>
|
||||
<root url="file://$PROJECT_DIR$/javafx-sdk-11.0.2/lib" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
<jarDirectory url="file://$PROJECT_DIR$/javafx-sdk-11.0.2/lib" recursive="false" />
|
||||
</library>
|
||||
</component>
|
9
.idea/misc.xml
generated
Normal file
9
.idea/misc.xml
generated
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="JavaScriptSettings">
|
||||
<option name="languageLevel" value="ES6" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_13" default="false" project-jdk-name="14" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/git2.iml" filepath="$PROJECT_DIR$/git2.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
12
git2.iml
Normal file
12
git2.iml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="11" jdkType="JavaSDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="lib1" level="project" />
|
||||
</component>
|
||||
</module>
|
@ -24,7 +24,7 @@ choisir.equipement.a.voler=Choisissez un équipement à voler
|
||||
carte.vision=Carte Vision
|
||||
jouer.a.qui.donner.carte=Choisissez un joueur à qui donner la carte.
|
||||
effet=Effet :
|
||||
catye.vue.par.joiur.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
|
||||
recoit=reçoit
|
||||
blessure=Blessures.
|
||||
@ -54,3 +54,10 @@ reveler.identite=révèle son identité!
|
||||
c.est=C'est
|
||||
faction=Faction :
|
||||
utiliser.capacite=utilise sa capacité.
|
||||
nom.personnages=Nom Personnage
|
||||
votre.competence=Votre compétence :
|
||||
retourner.carte=Retourner la carte
|
||||
benediction=Bénediction
|
||||
premier.secours=Premier secours
|
||||
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
|
@ -25,7 +25,7 @@ carte.vision=Vision Card
|
||||
jouer.a.qui.donner.carte=Choose a player to give the card to.
|
||||
carte=Card
|
||||
effet=Effect :
|
||||
catye.vue.par.joiur.pioche=This card can only be seen by the player who draws it.
|
||||
carte.vue.par.joueur.pioche=This card can only be seen by the player who draws it.
|
||||
voir.carte=See card
|
||||
recoit=receives
|
||||
blessure=Injury.
|
||||
@ -56,3 +56,10 @@ c.est=This is
|
||||
faction=Faction :
|
||||
utiliser.capacite=
|
||||
uses its capacity.
|
||||
nom.personnages=Name Character
|
||||
votre.competence=Your competence :
|
||||
retourner.carte=Flip the card
|
||||
benediction=Blessing
|
||||
premier.secours=First aid
|
||||
voler.equipement.joueur=Steal equipment from players of your choice
|
||||
choisir.carte.equipement.a.voler=Click on the equipment card you want to fly
|
@ -25,7 +25,7 @@ carte.vision=Carte Vision
|
||||
jouer.a.qui.donner.carte=Choisissez un joueur à qui donner la carte.
|
||||
carte=Carte
|
||||
effet=Effet :
|
||||
catye.vue.par.joiur.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
|
||||
recoit=reçoit
|
||||
blessure=Blessures.
|
||||
@ -55,3 +55,10 @@ reveler.identite=révèle son identité!
|
||||
c.est=C'est
|
||||
faction=Faction :
|
||||
utiliser.capacite=utilise sa capacité.
|
||||
nom.personnages=Nom Personnage
|
||||
votre.competence=Votre compétence :
|
||||
retourner.carte=Retourner la carte
|
||||
benediction=Bénediction
|
||||
premier.secours=Premier secours
|
||||
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
|
@ -7,7 +7,6 @@ import java.util.ResourceBundle;
|
||||
import javafx.application.Application;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
import javafx.scene.layout.Pane;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
@ -17,7 +16,7 @@ public class Main extends Application {
|
||||
System.out.println("Lancement de l'application");
|
||||
|
||||
final URL fxmlURL = getClass().getResource("ressources/parametre.fxml"); // "ressources/Jouer_tour(1)lancer_des.fxml"
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.ENGLISH);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Pane root = fxmlLoader.load();
|
||||
|
||||
@ -28,11 +27,6 @@ public class Main extends Application {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
String filepath = "src//ihm//ressources//musique//The_Red_Fox_Tavern.wav"; // lien vers la musique :
|
||||
// https://www.youtube.com/watch?v=LBpKUIyOHdo
|
||||
Musique musiqueObjet = new Musique();
|
||||
//musiqueObjet.playMusique(filepath);
|
||||
launch(args);
|
||||
}
|
||||
}
|
||||
|
@ -5,11 +5,13 @@ import java.io.File;
|
||||
import javax.sound.sampled.AudioInputStream;
|
||||
import javax.sound.sampled.AudioSystem;
|
||||
import javax.sound.sampled.Clip;
|
||||
import javax.swing.JOptionPane;
|
||||
|
||||
public class Musique {
|
||||
|
||||
public void playMusique(String path) {
|
||||
public static Clip clip;
|
||||
public static long clipTimePosition = 0;
|
||||
|
||||
public static void playMusique(String path) {
|
||||
|
||||
try {
|
||||
|
||||
@ -18,7 +20,7 @@ public class Musique {
|
||||
if (musicPath.exists()) {
|
||||
|
||||
AudioInputStream audioInput = AudioSystem.getAudioInputStream(musicPath);
|
||||
Clip clip = AudioSystem.getClip();
|
||||
clip = AudioSystem.getClip();
|
||||
clip.open(audioInput);
|
||||
clip.start();
|
||||
clip.loop(Clip.LOOP_CONTINUOUSLY);
|
||||
@ -32,4 +34,14 @@ public class Musique {
|
||||
}
|
||||
}
|
||||
|
||||
public static void pauseMusique(Clip clip) {
|
||||
clipTimePosition = clip.getMicrosecondPosition();
|
||||
clip.stop();
|
||||
}
|
||||
|
||||
public static void resumeMusique(Clip clip) {
|
||||
clip.setMicrosecondPosition(clipTimePosition);
|
||||
clip.start();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,52 +1,93 @@
|
||||
package ihm.controller;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.Locale;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
import ihm.Musique;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.fxml.Initializable;
|
||||
import javafx.scene.control.Button;
|
||||
import javafx.scene.control.CheckBox;
|
||||
import javafx.scene.control.ComboBox;
|
||||
import javafx.scene.input.MouseEvent;
|
||||
import javafx.scene.layout.Pane;
|
||||
|
||||
public class ParametreController implements Initializable {
|
||||
@FXML private Pane rootPane;
|
||||
@FXML private CheckBox cmusique;
|
||||
@FXML private CheckBox clair;
|
||||
@FXML private ComboBox<String> langues;
|
||||
@FXML
|
||||
private Pane rootPane;
|
||||
@FXML
|
||||
private CheckBox cmusique;
|
||||
@FXML
|
||||
private CheckBox clair;
|
||||
@FXML
|
||||
private ComboBox<String> langues;
|
||||
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
|
||||
|
||||
String filepath = "src//ihm//ressources//musique//The_Red_Fox_Tavern.wav"; // lien vers la musique :
|
||||
// https://www.youtube.com/watch?v=LBpKUIyOHdo
|
||||
File files = new File("src//ihm//ressources//musique//The_Red_Fox_Tavern.wav");
|
||||
|
||||
File repertoire = new File("src//ihm//ressources");
|
||||
|
||||
String liste[] = repertoire.list();
|
||||
|
||||
@Override
|
||||
public void initialize(URL arg0, ResourceBundle arg1) {
|
||||
langues.getItems().add("Anglais");
|
||||
langues.getItems().add("Allemand");
|
||||
langues.getItems().add("Espagnol");
|
||||
langues.getItems().add("Français");
|
||||
|
||||
|
||||
|
||||
langues.getItems().add("Français");
|
||||
|
||||
}
|
||||
/*@FXML
|
||||
public void enregistre(MouseEvent mouseEvent) throws IOException{
|
||||
|
||||
@FXML
|
||||
public void enregistre(MouseEvent mouseEvent) throws IOException, Exception {
|
||||
|
||||
if (files.exists()) {
|
||||
|
||||
if (cmusique.isSelected() == true) {
|
||||
coche = true;
|
||||
if (Musique.clipTimePosition == 0 && MusiqueLancee == false) { // si la musique n'a jamais été lancé
|
||||
Musique.playMusique(filepath);
|
||||
MusiqueLancee = true;
|
||||
|
||||
String filepath = "src//ihm//ressources//musique//The_Red_Fox_Tavern.wav"; // lien vers la musique :
|
||||
// https://www.youtube.com/watch?v=LBpKUIyOHdo
|
||||
Musique musiqueObjet = new Musique();
|
||||
//musiqueObjet.playMusique(filepath);
|
||||
} else {
|
||||
Musique.resumeMusique(Musique.clip); // si elle a deja été lancé mais mis en pause, reprend a partir du point d'arret
|
||||
}
|
||||
|
||||
Pane root = FXMLLoader.load(getClass().getResource("ressources/parametre.fxml"));
|
||||
//root.setStyle("ressources/style/menuLight.css);
|
||||
} else {
|
||||
if (coche == true) {
|
||||
coche = false;
|
||||
Musique.pauseMusique(Musique.clip); //met en pause la musique
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} */
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* 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]); 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");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.ENGLISH);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Pane pane = fxmlLoader.load();
|
||||
|
||||
rootPane.getChildren().setAll(pane);
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -13,9 +13,9 @@
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="387.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="195.0" text="Se révéler et soigner mes lessures" />
|
||||
<Button layoutX="628.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="171.0" text="Ne rien faire" />
|
||||
<Label layoutX="414.0" layoutY="147.0" prefHeight="89.0" prefWidth="249.0" text="Effet carte">
|
||||
<Button layoutX="387.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="195.0" text="%reveler.et.soigner" />
|
||||
<Button layoutX="628.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="171.0" text="%rien.faire" />
|
||||
<Label layoutX="414.0" layoutY="147.0" prefHeight="89.0" prefWidth="249.0" text="%effet.carte">
|
||||
<font>
|
||||
<Font size="52.0" />
|
||||
</font>
|
||||
|
@ -13,9 +13,9 @@
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="387.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="195.0" text="Se révéler et soigner mes lessures" />
|
||||
<Button layoutX="628.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="171.0" text="Ne rien faire" />
|
||||
<Label layoutX="414.0" layoutY="147.0" prefHeight="89.0" prefWidth="249.0" text="Effet carte">
|
||||
<Button layoutX="387.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="195.0" text="%reveler.et.soigner" />
|
||||
<Button layoutX="628.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="171.0" text="%rien.faire" />
|
||||
<Label layoutX="414.0" layoutY="147.0" prefHeight="89.0" prefWidth="249.0" text="%effet.carte">
|
||||
<font>
|
||||
<Font size="52.0" />
|
||||
</font>
|
||||
|
@ -8,25 +8,25 @@
|
||||
|
||||
<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="Joueur 1" />
|
||||
<Button layoutX="298.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 2" />
|
||||
<Button layoutX="515.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 3" />
|
||||
<Button layoutX="745.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 4" />
|
||||
<Button layoutX="73.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 5" />
|
||||
<Button layoutX="298.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 6" />
|
||||
<Button layoutX="515.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 7" />
|
||||
<Button layoutX="745.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 8" />
|
||||
<Button layoutX="177.0" layoutY="134.0" mnemonicParsing="false" prefHeight="327.0" prefWidth="173.0" text="Bénediction">
|
||||
<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">
|
||||
<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="Choisissez un joueur que vous voulez soigner" wrapText="true">
|
||||
<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>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<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">
|
||||
<children>
|
||||
<Label layoutX="137.0" layoutY="100.0" prefHeight="46.0" prefWidth="362.0" text="Joueur 1 soigne Joueur 2">
|
||||
<Label layoutX="137.0" layoutY="100.0" prefHeight="46.0" prefWidth="362.0" text="%joueur1.soigne.joueur2">
|
||||
<font>
|
||||
<Font size="29.0" />
|
||||
</font>
|
||||
@ -18,6 +18,6 @@
|
||||
<Font size="47.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="243.0" layoutY="313.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="116.0" text="Lancer les dès" />
|
||||
<Button layoutX="243.0" layoutY="313.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="116.0" text="%lancer.de.des" />
|
||||
</children>
|
||||
</Pane>
|
||||
|
@ -7,25 +7,25 @@
|
||||
|
||||
<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="Joueur 1" />
|
||||
<Button layoutX="298.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 2" />
|
||||
<Button layoutX="515.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 3" />
|
||||
<Button layoutX="745.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 4" />
|
||||
<Button layoutX="73.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 5" />
|
||||
<Button layoutX="298.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 6" />
|
||||
<Button layoutX="515.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 7" />
|
||||
<Button layoutX="745.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 8" />
|
||||
<Button layoutX="177.0" layoutY="134.0" mnemonicParsing="false" prefHeight="327.0" prefWidth="194.0" text="Premier secours">
|
||||
<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="194.0" text="%premier.secours">
|
||||
<font>
|
||||
<Font size="23.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Label layoutX="524.0" layoutY="134.0" prefHeight="105.0" prefWidth="254.0" text="Effet carte">
|
||||
<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="Choisissez un joueur" wrapText="true">
|
||||
<Label layoutX="438.0" layoutY="306.0" prefHeight="115.0" prefWidth="385.0" text="%choisr.joueur" wrapText="true">
|
||||
<font>
|
||||
<Font size="35.0" />
|
||||
</font>
|
||||
|
@ -14,22 +14,22 @@
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 1" textAlignment="CENTER">
|
||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur1" 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="Joueur 2">
|
||||
<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="Joueur 3">
|
||||
<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="Joueur 4">
|
||||
<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>
|
||||
@ -45,7 +45,7 @@
|
||||
</Rectangle>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Effet de la carte" textAlignment="CENTER">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%effet.carte" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="55.0" />
|
||||
</VBox.margin>
|
||||
@ -53,7 +53,7 @@
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Choisissez un joueur à qui infliger 2 blessures" textAlignment="CENTER">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%choisir.joueur.infliger.blessures" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -64,22 +64,22 @@
|
||||
</HBox>
|
||||
<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="Joueur 5" textAlignment="CENTER">
|
||||
<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="Joueur 6">
|
||||
<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="Joueur 7">
|
||||
<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="Joueur 8">
|
||||
<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>
|
||||
|
@ -14,22 +14,22 @@
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 1" textAlignment="CENTER">
|
||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur1" 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="Joueur 2">
|
||||
<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="Joueur 3">
|
||||
<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="Joueur 4">
|
||||
<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>
|
||||
@ -45,7 +45,7 @@
|
||||
</Rectangle>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Effet de la carte" textAlignment="CENTER">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%effet.carte" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="55.0" />
|
||||
</VBox.margin>
|
||||
@ -53,7 +53,7 @@
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Choisissez un joueur à qui infliger 2 blessures" textAlignment="CENTER">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%choisir.joueur.infliger.blessures" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -64,22 +64,22 @@
|
||||
</HBox>
|
||||
<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="Joueur 5" textAlignment="CENTER">
|
||||
<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="Joueur 6">
|
||||
<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="Joueur 7">
|
||||
<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="Joueur 8">
|
||||
<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>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#c6c6c6" height="298.0" stroke="BLACK" strokeType="INSIDE" width="188.0" />
|
||||
<VBox alignment="CENTER" prefHeight="351.0" prefWidth="293.0">
|
||||
<children>
|
||||
<Label text="Effet de la carte">
|
||||
<Label text="%effet.carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -44,7 +44,7 @@
|
||||
</Polygon>
|
||||
</children>
|
||||
</HBox>
|
||||
<Button mnemonicParsing="false" prefHeight="45.0" prefWidth="135.0" text="Lancer les dés">
|
||||
<Button mnemonicParsing="false" prefHeight="45.0" prefWidth="135.0" text="%lancer.de.des">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
|
@ -13,22 +13,22 @@
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 1" textAlignment="CENTER">
|
||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="%joueur1" 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="Joueur 2">
|
||||
<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="Joueur 3">
|
||||
<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="Joueur 4">
|
||||
<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>
|
||||
@ -47,7 +47,7 @@
|
||||
</Rectangle>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Effet de la carte" textAlignment="CENTER">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%effet.carte" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="30.0" top="50.0" />
|
||||
</VBox.margin>
|
||||
@ -55,7 +55,7 @@
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Choisissez la carte équipement que vous allez donner" textAlignment="CENTER">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement.a.donner" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -75,7 +75,7 @@
|
||||
<Insets bottom="55.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<Text layoutX="10.0" layoutY="187.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Choisissez un joueur à qui donner cette carte équipement" textAlignment="CENTER">
|
||||
<Text layoutX="10.0" layoutY="187.0" strokeType="OUTSIDE" strokeWidth="0.0" text="%joueur.a.qui.donner.carte.equipement" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -90,22 +90,22 @@
|
||||
</HBox>
|
||||
<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="Joueur 5" textAlignment="CENTER">
|
||||
<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="Joueur 6">
|
||||
<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="Joueur 7">
|
||||
<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="Joueur 8">
|
||||
<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>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#c6c6c6" height="298.0" stroke="BLACK" strokeType="INSIDE" width="188.0" />
|
||||
<VBox alignment="CENTER" prefHeight="351.0" prefWidth="293.0">
|
||||
<children>
|
||||
<Label text="Effet de la carte">
|
||||
<Label text="%effet.carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -31,7 +31,7 @@
|
||||
</Rectangle>
|
||||
</children>
|
||||
</HBox>
|
||||
<Button mnemonicParsing="false" prefHeight="45.0" prefWidth="135.0" text="Lancer les dés">
|
||||
<Button mnemonicParsing="false" prefHeight="45.0" prefWidth="135.0" text="%lancer.de.des">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
|
@ -18,7 +18,7 @@
|
||||
</Rectangle>
|
||||
<VBox alignment="CENTER" prefHeight="533.0" prefWidth="753.0">
|
||||
<children>
|
||||
<Label text="Effet de la carte">
|
||||
<Label text="%effet.carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -28,12 +28,12 @@
|
||||
</Label>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="338.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" prefHeight="48.0" prefWidth="333.0" text="Se révéler et soigner ses blessures">
|
||||
<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="Ne rien faire">
|
||||
<Button layoutX="89.0" layoutY="38.0" mnemonicParsing="false" prefHeight="45.0" prefWidth="289.0" text="%rien.faire">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
|
@ -32,7 +32,7 @@
|
||||
</Rectangle>
|
||||
</children>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
@ -53,7 +53,7 @@
|
||||
</Rectangle>
|
||||
</children>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
@ -80,7 +80,7 @@
|
||||
<Insets right="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
@ -97,7 +97,7 @@
|
||||
<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="Cartes équipements">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
@ -115,7 +115,7 @@
|
||||
</Rectangle>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Effet de la carte" textAlignment="CENTER">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%effet.carte" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="55.0" />
|
||||
</VBox.margin>
|
||||
@ -123,7 +123,7 @@
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Choisissez un équipement à voler" textAlignment="CENTER">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%choisir.equipement.a.voler" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -152,7 +152,7 @@
|
||||
</Rectangle>
|
||||
</children>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
@ -173,7 +173,7 @@
|
||||
</Rectangle>
|
||||
</children>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
@ -197,7 +197,7 @@
|
||||
<Insets right="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
@ -214,7 +214,7 @@
|
||||
<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="Cartes équipements">
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="%carte.equipement">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
|
@ -13,9 +13,9 @@
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="387.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="195.0" text="Se révéler et soigner mes lessures" />
|
||||
<Button layoutX="628.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="171.0" text="Ne rien faire" />
|
||||
<Label layoutX="414.0" layoutY="147.0" prefHeight="89.0" prefWidth="249.0" text="Effet carte">
|
||||
<Button layoutX="387.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="195.0" text="%reveler.et.soigner" />
|
||||
<Button layoutX="628.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="171.0" text="%rien.faire" />
|
||||
<Label layoutX="414.0" layoutY="147.0" prefHeight="89.0" prefWidth="249.0" text="%effet.carte">
|
||||
<font>
|
||||
<Font size="52.0" />
|
||||
</font>
|
||||
|
@ -17,22 +17,22 @@
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 1" />
|
||||
<Button mnemonicParsing="false" text="%joueur1" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 2" />
|
||||
<Button mnemonicParsing="false" text="%joueur2" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 3" />
|
||||
<Button mnemonicParsing="false" text="%joueur3" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 4" />
|
||||
<Button mnemonicParsing="false" text="%joueur4" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
@ -73,22 +73,22 @@
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 5" />
|
||||
<Button mnemonicParsing="false" text="%joueur5" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 6" />
|
||||
<Button mnemonicParsing="false" text="%joueur6" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 7" />
|
||||
<Button mnemonicParsing="false" text="%joueur7" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 8" />
|
||||
<Button mnemonicParsing="false" text="%joueur8" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
|
@ -28,7 +28,7 @@
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="91.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="473.0" text="%catye.vue.par.joiur.pioche">
|
||||
<Label prefHeight="27.0" prefWidth="473.0" text="%carte.vue.par.joueur.pioche">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
|
@ -8,16 +8,16 @@
|
||||
|
||||
<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.JouerSonTour1Controller">
|
||||
<children>
|
||||
<Label layoutX="135.0" layoutY="29.0" text="C'est au tour de">
|
||||
<Label layoutX="135.0" layoutY="29.0" text="%au.tour.de">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="262.0" layoutY="388.0" mnemonicParsing="false" onMouseClicked="#lancerDes" text="Lancer les dés">
|
||||
<Button layoutX="262.0" layoutY="388.0" mnemonicParsing="false" onMouseClicked="#lancerDes" text="%lancer.de.des">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font></Button>
|
||||
<Label fx:id="nomJoueur" layoutX="405.0" layoutY="29.0" text="joueur 1">
|
||||
<Label fx:id="nomJoueur" layoutX="405.0" layoutY="29.0" text="%joueur1">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
|
@ -8,16 +8,16 @@
|
||||
|
||||
<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.JouerSonTour2Controller">
|
||||
<children>
|
||||
<Label fx:id="descriptionLieu" layoutX="315.0" layoutY="151.0" text="Description capacité de la carte lieux ">
|
||||
<Label fx:id="descriptionLieu" layoutX="315.0" layoutY="151.0" text="%description.capacite.carte.lieux">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="356.0" layoutY="227.0" mnemonicParsing="false" onMouseClicked="#capaciteLieu" text="Utiliser la capacité du lieux">
|
||||
<Button layoutX="356.0" layoutY="227.0" mnemonicParsing="false" onMouseClicked="#capaciteLieu" text="%utiliser.capaciter.lieux">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font></Button>
|
||||
<Button layoutX="389.0" layoutY="307.0" mnemonicParsing="false" onMouseClicked="#ignorerEtape" text="Sauter cette étape">
|
||||
<Button layoutX="389.0" layoutY="307.0" mnemonicParsing="false" onMouseClicked="#ignorerEtape" text="%sauter.etape">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font></Button>
|
||||
|
@ -6,12 +6,12 @@
|
||||
|
||||
<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.JouerSonTour5Controller">
|
||||
<children>
|
||||
<Label layoutX="70.0" layoutY="201.0" text="Volez un équipement au joueurs de votre choix">
|
||||
<Label layoutX="70.0" layoutY="201.0" text="%voler.equipement.joueur">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label layoutX="154.0" layoutY="260.0" text="Cliquez sur la carte équipement que vous voulez voler">
|
||||
<Label layoutX="154.0" layoutY="260.0" text="%choisir.equipement.a.voler">
|
||||
<font>
|
||||
<Font size="14.0" />
|
||||
</font>
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
<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.JouerSonTour6Controller">
|
||||
<children>
|
||||
<Label layoutX="250.0" layoutY="227.0" text="Piochez une carte">
|
||||
<Label layoutX="250.0" layoutY="227.0" text="%piocher.carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
|
@ -13,7 +13,7 @@
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="54.0" text="Carte">
|
||||
<Label prefHeight="27.0" prefWidth="54.0" text="%carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -28,7 +28,7 @@
|
||||
<ImageView fitHeight="326.0" fitWidth="233.5" pickOnBounds="true" preserveRatio="true" />
|
||||
<HBox alignment="CENTER" prefHeight="111.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="54.0" text="Effet :">
|
||||
<Label prefHeight="27.0" prefWidth="54.0" text="%effet">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
|
@ -12,18 +12,18 @@
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="480.0" prefWidth="640.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="106.0" text="Carte Vision">
|
||||
<Label prefHeight="27.0" prefWidth="106.0" text="%carte.vision">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<ImageView fitHeight="326.0" fitWidth="233.5" pickOnBounds="true" preserveRatio="true" />
|
||||
<Label prefHeight="27.0" prefWidth="473.0" text="Cette carte ne peut être vu que par le joueur qui la pioche.">
|
||||
<Label prefHeight="27.0" prefWidth="473.0" text="%carte.vue.par.joueur.pioche">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button mnemonicParsing="false" onMouseClicked="#voirCarte" text="Voir carte">
|
||||
<Button mnemonicParsing="false" onMouseClicked="#voirCarte" text="%voir.carte">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin>
|
||||
|
@ -15,7 +15,7 @@
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="178.0" prefWidth="599.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="103.0" text="Carte Vision">
|
||||
<Label prefHeight="27.0" prefWidth="103.0" text="%voir.carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -34,7 +34,7 @@
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label prefHeight="27.0" prefWidth="340.0" text="Choisissez un joueur à qui donner la carte.">
|
||||
<Label prefHeight="27.0" prefWidth="340.0" text="%jouer.a.qui.donner.carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
|
@ -15,12 +15,12 @@
|
||||
</Label>
|
||||
<HBox alignment="CENTER" layoutX="-1.0" layoutY="179.0" prefHeight="21.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Label text="Joueur">
|
||||
<Label text="%joueur">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label text="conséquence">
|
||||
<Label text="%consequence">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
<Pane 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">
|
||||
<children>
|
||||
<Label layoutX="66.0" layoutY="200.0" text="Attaquez un joueur ou se soigner de 2 blessures">
|
||||
<Label layoutX="66.0" layoutY="200.0" text="%attaquer.ou.soigner">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="278.0" layoutY="255.0" mnemonicParsing="false" text="Se soigner">
|
||||
<Button layoutX="278.0" layoutY="255.0" mnemonicParsing="false" text="%se.soigner">
|
||||
<font>
|
||||
<Font size="14.0" />
|
||||
</font></Button>
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
<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.JouerSonTour3Controller">
|
||||
<children>
|
||||
<Label layoutX="191.0" layoutY="163.0" text="Attaquer un autre joueur !">
|
||||
<Label layoutX="191.0" layoutY="163.0" text="%attaquer.joueur">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="277.0" layoutY="265.0" mnemonicParsing="false" onMouseClicked="#pasAttaquer" text="Ne pas attaquer" />
|
||||
<Button layoutX="277.0" layoutY="265.0" mnemonicParsing="false" onMouseClicked="#pasAttaquer" text="%ne.pas.attaqur" />
|
||||
<Label layoutX="182.0" layoutY="208.0" text="Cliquez sur le nom du joueur que vous voulez attaquer" />
|
||||
</children>
|
||||
</Pane>
|
||||
|
@ -16,7 +16,7 @@
|
||||
</Label>
|
||||
<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" />
|
||||
<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" />
|
||||
<Button layoutX="267.0" layoutY="387.0" mnemonicParsing="false" text="Lancer les dés">
|
||||
<Button layoutX="267.0" layoutY="387.0" mnemonicParsing="false" text="%lancer.de.des">
|
||||
<font>
|
||||
<Font size="14.0" />
|
||||
</font></Button>
|
||||
@ -28,12 +28,12 @@
|
||||
<font>
|
||||
<Font size="64.0" />
|
||||
</font></Label>
|
||||
<Label layoutX="418.0" layoutY="31.0" text="joueur 2">
|
||||
<Label layoutX="418.0" layoutY="31.0" text="%joueur2">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label layoutX="136.0" layoutY="31.0" text="Joueur 1">
|
||||
<Label layoutX="136.0" layoutY="31.0" text="%joueur3">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="52.0" text="reçoit" textAlignment="CENTER">
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="52.0" text="%recoit" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -24,7 +24,7 @@
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="82.0" text="Blessures." textAlignment="CENTER">
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="82.0" text="%blessure" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<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">
|
||||
<children>
|
||||
<Label layoutX="137.0" layoutY="100.0" prefHeight="46.0" prefWidth="362.0" text="Joueur 1 soigne Joueur 2">
|
||||
<Label layoutX="137.0" layoutY="100.0" prefHeight="46.0" prefWidth="362.0" text="%joueur1.soigne.joueur2">
|
||||
<font>
|
||||
<Font size="29.0" />
|
||||
</font>
|
||||
@ -18,6 +18,6 @@
|
||||
<Font size="47.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="243.0" layoutY="313.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="116.0" text="Lancer les dès" />
|
||||
<Button layoutX="243.0" layoutY="313.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="116.0" text="%lancer.de.des" />
|
||||
</children>
|
||||
</Pane>
|
||||
|
@ -7,25 +7,25 @@
|
||||
|
||||
<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="Joueur 1" />
|
||||
<Button layoutX="298.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 2" />
|
||||
<Button layoutX="515.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 3" />
|
||||
<Button layoutX="745.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 4" />
|
||||
<Button layoutX="73.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 5" />
|
||||
<Button layoutX="298.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 6" />
|
||||
<Button layoutX="515.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 7" />
|
||||
<Button layoutX="745.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 8" />
|
||||
<Button layoutX="177.0" layoutY="134.0" mnemonicParsing="false" prefHeight="327.0" prefWidth="194.0" text="Premier secours">
|
||||
<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="194.0" text="%premier.secours">
|
||||
<font>
|
||||
<Font size="23.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Label layoutX="524.0" layoutY="134.0" prefHeight="105.0" prefWidth="254.0" text="Effet carte">
|
||||
<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="Choisissez un joueur" wrapText="true">
|
||||
<Label layoutX="438.0" layoutY="306.0" prefHeight="115.0" prefWidth="385.0" text="%choisr.joueur" wrapText="true">
|
||||
<font>
|
||||
<Font size="35.0" />
|
||||
</font>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="34.0" prefWidth="154.0" text="révèle son identité!" textFill="WHITE">
|
||||
<Label prefHeight="34.0" prefWidth="154.0" text="%reveler.identite" textFill="WHITE">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -35,7 +35,7 @@
|
||||
</HBox>
|
||||
<HBox prefHeight="36.0" prefWidth="334.0">
|
||||
<children>
|
||||
<Label prefHeight="35.0" prefWidth="55.0" text="C'est" textFill="WHITE">
|
||||
<Label prefHeight="35.0" prefWidth="55.0" text="%c.est" textFill="WHITE">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -49,7 +49,7 @@
|
||||
</HBox>
|
||||
<HBox prefHeight="36.0" prefWidth="334.0">
|
||||
<children>
|
||||
<Label prefHeight="35.0" prefWidth="75.0" text="Faction : " textFill="WHITE">
|
||||
<Label prefHeight="35.0" prefWidth="75.0" text="%faction" textFill="WHITE">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
|
@ -8,25 +8,25 @@
|
||||
|
||||
<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="Joueur 1" />
|
||||
<Button layoutX="298.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 2" />
|
||||
<Button layoutX="515.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 3" />
|
||||
<Button layoutX="745.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 4" />
|
||||
<Button layoutX="73.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 5" />
|
||||
<Button layoutX="298.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 6" />
|
||||
<Button layoutX="515.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 7" />
|
||||
<Button layoutX="745.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 8" />
|
||||
<Button layoutX="177.0" layoutY="134.0" mnemonicParsing="false" prefHeight="327.0" prefWidth="173.0" text="Bénediction">
|
||||
<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">
|
||||
<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="Choisissez un joueur que vous voulez soigner" wrapText="true">
|
||||
<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>
|
||||
|
@ -25,7 +25,7 @@
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label text="utilise sa capacité.">
|
||||
<Label text="%utiliser.capacite">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -34,7 +34,7 @@
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="54.0" prefWidth="331.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="76.0" text="Effet :">
|
||||
<Label prefHeight="27.0" prefWidth="76.0" text="%effet.carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
|
@ -23,12 +23,12 @@
|
||||
<ImageView fitHeight="326.0" fitWidth="233.5" pickOnBounds="true" preserveRatio="true" />
|
||||
<VBox alignment="CENTER" prefHeight="326.0" prefWidth="319.0">
|
||||
<children>
|
||||
<Label fx:id="nom" text="Nom Personnage">
|
||||
<Label fx:id="nom" text="%nom.personnages">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label text="Votre compétence :">
|
||||
<Label text="%votre.competence">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -38,7 +38,7 @@
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button mnemonicParsing="false" onMouseClicked="#voirCarte" text="Retourner la carte">
|
||||
<Button mnemonicParsing="false" onMouseClicked="#voirCarte" text="%retourner.carte">
|
||||
<VBox.margin>
|
||||
<Insets top="50.0" />
|
||||
</VBox.margin>
|
||||
|
@ -22,7 +22,7 @@
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="277.0" layoutY="213.0" mnemonicParsing="false" text="Ne pas attaquer" />
|
||||
<Button layoutX="277.0" layoutY="213.0" mnemonicParsing="false" text="%ne.pas.attaqur" />
|
||||
<HBox alignment="CENTER" layoutY="337.0" prefHeight="100.0" prefWidth="661.0" spacing="60.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="%joueur5" />
|
||||
|
@ -15,12 +15,12 @@
|
||||
<children>
|
||||
<VBox prefHeight="309.0" prefWidth="127.0" spacing="50.0">
|
||||
<children>
|
||||
<CheckBox fx:id="clair" mnemonicParsing="false" styleClass="checkBox" text="Mode clair" />
|
||||
<CheckBox fx:id="cmusique" mnemonicParsing="false" styleClass="checkBox" text="Musique" />
|
||||
<CheckBox mnemonicParsing="false" styleClass="checkBox" text="Effet" />
|
||||
<CheckBox fx:id="clair" mnemonicParsing="false" styleClass="checkBox" text="%mode.claire" />
|
||||
<CheckBox fx:id="cmusique" mnemonicParsing="false" styleClass="checkBox" text="%musique" />
|
||||
<CheckBox mnemonicParsing="false" styleClass="checkBox" text="%effet" />
|
||||
<VBox prefHeight="200.0" prefWidth="100.0" spacing="10.0">
|
||||
<children>
|
||||
<Label styleClass="titre" text="Langue">
|
||||
<Label styleClass="titre" text="%langue">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -32,11 +32,11 @@
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label layoutX="309.0" layoutY="23.0" styleClass="titre" text="Paramètre">
|
||||
<Label layoutX="309.0" layoutY="23.0" styleClass="titre" text="%parametre">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="340.0" layoutY="525.0" mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="Enregistrer" />
|
||||
<Button layoutX="340.0" layoutY="525.0" mnemonicParsing="false" onMouseClicked="#enregistre" styleClass="bouton" stylesheets="@style/menu.css" text="%enregistrer" />
|
||||
</children>
|
||||
</Pane>
|
||||
|
@ -1,7 +1,9 @@
|
||||
package main;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import carte.Equipement;
|
||||
import carte.EquipementStat;
|
||||
import effet.Effet;
|
||||
|
||||
|
||||
@ -11,7 +13,6 @@ public class JoueurVirtuel extends Joueur {
|
||||
|
||||
public JoueurVirtuel (String name) {
|
||||
super(name);
|
||||
|
||||
}
|
||||
|
||||
public Effet choisirEffet(List<Effet> effets) {
|
||||
@ -19,11 +20,29 @@ public class JoueurVirtuel extends Joueur {
|
||||
}
|
||||
|
||||
public Equipement choisirEquipement(List<Equipement> equips) {
|
||||
List<Equipement> equipstat = trouverEquipStat(equips);
|
||||
if(equipstat.size()>0)
|
||||
return equipstat.get((int)Math.floor(Math.random() * equipstat.size()));
|
||||
return equips.get((int)Math.floor(Math.random() * equips.size()));
|
||||
}
|
||||
|
||||
public List<Equipement> trouverEquipStat(List<Equipement> equips){
|
||||
List<Equipement> res = new ArrayList<>();
|
||||
for(Equipement e : equips) {
|
||||
if(e instanceof EquipementStat)
|
||||
res.add(e);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
public Joueur choisirJoueur(List<Joueur> joueurs) {
|
||||
return joueurs.get((int)Math.floor(Math.random() * joueurs.size()));
|
||||
Joueur res = joueurs.get(0);
|
||||
for(int i=1; i<joueurs.size();i++) {
|
||||
if(res.getStat("HP")>joueurs.get(i).getStat("HP"))
|
||||
res = joueurs.get(i);
|
||||
}
|
||||
return res;
|
||||
//return joueurs.get((int)Math.floor(Math.random() * joueurs.size()));
|
||||
}
|
||||
|
||||
public int getDifficulte() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user