Traduction
This commit is contained in:
parent
60764f7bba
commit
c7ca4ec822
@ -2,17 +2,26 @@ package ihm;
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Parent;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
import javafx.scene.layout.Pane;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
import java.net.URL;
|
||||
import java.util.Locale;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
public class Main extends Application {
|
||||
@Override
|
||||
public void start(Stage primaryStage) throws Exception {
|
||||
System.out.println("Lancement de l'application");
|
||||
|
||||
Pane root = FXMLLoader.load(getClass().getResource("ressources/Menu.fxml")); // "ressources/Jouer_tour(1)lancer_des.fxml"
|
||||
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);
|
||||
Parent root = fxmlLoader.load();
|
||||
|
||||
|
||||
primaryStage.setTitle("Shadow Hunters");
|
||||
primaryStage.setScene(new Scene(root));
|
||||
@ -25,7 +34,7 @@ public class Main extends Application {
|
||||
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);
|
||||
musiqueObjet.playMusique(filepath);
|
||||
launch(args);
|
||||
|
||||
}
|
||||
|
@ -2,6 +2,7 @@ package ihm.controller;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.Locale;
|
||||
import java.util.Random;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
@ -9,6 +10,7 @@ import carte.CarteLieu;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.fxml.Initializable;
|
||||
import javafx.scene.Parent;
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.input.MouseEvent;
|
||||
import javafx.scene.layout.BorderPane;
|
||||
@ -39,8 +41,12 @@ public class JouerSonTour1Controller implements Initializable{
|
||||
this.d6.setText(Integer.toString(d4));
|
||||
|
||||
Thread.sleep(1000);
|
||||
|
||||
Pane pane = FXMLLoader.load(getClass().getResource("../ressources/Jouer_tour(2)carte_lieux.fxml"));
|
||||
|
||||
final URL fxmlURL = getClass().getResource("../ressources/Jouer_tour(2)carte_lieux.fxml");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Pane pane = fxmlLoader.load();
|
||||
|
||||
rootPane.getChildren().setAll(pane);
|
||||
}
|
||||
|
||||
|
@ -2,6 +2,7 @@ package ihm.controller;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.Locale;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
import carte.CarteLieu;
|
||||
@ -26,7 +27,11 @@ public class JouerSonTour2Controller implements Initializable{
|
||||
|
||||
@FXML
|
||||
public void ignorerEtape(MouseEvent mouseEvent) throws IOException{
|
||||
Pane pane = FXMLLoader.load(getClass().getResource("../ressources/Jouer_tour(3)attaquer.fxml"));
|
||||
final URL fxmlURL = getClass().getResource("../ressources/Jouer_tour(3)attaquer.fxml");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Pane pane = fxmlLoader.load();
|
||||
|
||||
rootPane.getChildren().setAll(pane);
|
||||
}
|
||||
|
||||
|
@ -2,6 +2,7 @@ package ihm.controller;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.Locale;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
import javafx.fxml.FXML;
|
||||
@ -20,8 +21,11 @@ public class JouerSonTour5Controller implements Initializable{
|
||||
}
|
||||
@FXML
|
||||
public void equipementVole(MouseEvent mouseEvent) throws IOException{
|
||||
|
||||
Pane pane = FXMLLoader.load(getClass().getResource("../ressources/jouerSonTour6.fxml"));
|
||||
|
||||
final URL fxmlURL = getClass().getResource("../ressources/jouerSonTour6.fxml");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Pane pane = fxmlLoader.load();
|
||||
rootPane.getChildren().setAll(pane);
|
||||
|
||||
}
|
||||
|
@ -2,6 +2,7 @@ package ihm.controller;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.Locale;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
import javafx.fxml.FXML;
|
||||
@ -20,15 +21,21 @@ public class JouerSonTour6Controller implements Initializable{
|
||||
}
|
||||
@FXML
|
||||
public void piocherVision(MouseEvent mouseEvent) throws IOException{
|
||||
|
||||
Pane pane = FXMLLoader.load(getClass().getResource("../ressources/jouer_Son_Tour_piocher_vision.fxml"));
|
||||
|
||||
final URL fxmlURL = getClass().getResource("../ressources/jouer_Son_Tour_piocher_vision.fxml");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Pane pane = fxmlLoader.load();
|
||||
rootPane.getChildren().setAll(pane);
|
||||
|
||||
}
|
||||
@FXML
|
||||
public void piocherTenebre(MouseEvent mouseEvent) throws IOException{
|
||||
|
||||
Pane pane = FXMLLoader.load(getClass().getResource("../ressources/jouer_Son_Tour_piocher_lum_et_ten.fxml"));
|
||||
|
||||
final URL fxmlURL = getClass().getResource("../ressources/jouer_Son_Tour_piocher_lum_et_ten.fxml");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Pane pane = fxmlLoader.load();
|
||||
rootPane.getChildren().setAll(pane);
|
||||
|
||||
}
|
||||
|
@ -2,6 +2,7 @@ package ihm.controller;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.Locale;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
import javafx.fxml.FXML;
|
||||
@ -19,8 +20,11 @@ public class JouerSonTourDonnerVisionController implements Initializable{
|
||||
}
|
||||
@FXML
|
||||
public void attaquer(MouseEvent mouseEvent) throws IOException{
|
||||
|
||||
Pane pane = FXMLLoader.load(getClass().getResource("../ressources/jouer_Son_Tour_recevoir_blessure.fxml"));
|
||||
|
||||
final URL fxmlURL = getClass().getResource("../ressources/jouer_Son_Tour_recevoir_blessure.fxml");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Pane pane = fxmlLoader.load();
|
||||
rootPane.getChildren().setAll(pane);
|
||||
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.Locale;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
import javafx.fxml.FXML;
|
||||
@ -14,6 +15,7 @@ import javafx.scene.image.Image;
|
||||
import javafx.scene.image.ImageView;
|
||||
import javafx.scene.input.MouseEvent;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
import javafx.scene.layout.BorderPane;
|
||||
import javafx.stage.Stage;
|
||||
import javafx.scene.Node;
|
||||
|
||||
@ -36,8 +38,11 @@ public class MenuController implements Initializable{
|
||||
|
||||
@FXML
|
||||
public void commencerPartie(MouseEvent mouseEvent) throws IOException{
|
||||
System.out.println("Passage <20> l'<27>cran de choix des joueurs");
|
||||
AnchorPane pane = FXMLLoader.load(getClass().getResource("../ressources/Choix_joueur.fxml"));
|
||||
System.out.println("Passage à l'écran de choix des joueurs");
|
||||
final URL fxmlURL = getClass().getResource("../ressources/Choix_joueur.fxml");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
AnchorPane pane = fxmlLoader.load();
|
||||
Scene scene = new Scene(pane);
|
||||
Stage appStage = (Stage) ((Node) mouseEvent.getSource()).getScene().getWindow();
|
||||
appStage.setScene(scene);
|
||||
|
@ -2,6 +2,7 @@ package ihm.controller;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.Locale;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
import javafx.fxml.FXML;
|
||||
@ -19,8 +20,11 @@ public class PiocherVisionController implements Initializable{
|
||||
}
|
||||
@FXML
|
||||
public void voirCarte(MouseEvent mouseEvent) throws IOException{
|
||||
|
||||
Pane pane = FXMLLoader.load(getClass().getResource("../ressources/jouer_Son_Tour_donner_vision.fxml"));
|
||||
|
||||
final URL fxmlURL = getClass().getResource("../ressources/jouer_Son_Tour_donner_vision.fxml");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Pane pane = fxmlLoader.load();
|
||||
rootPane.getChildren().setAll(pane);
|
||||
|
||||
}
|
||||
|
@ -3,10 +3,7 @@ package ihm.controller;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.ResourceBundle;
|
||||
import java.util.*;
|
||||
|
||||
import ihm.PopUp;
|
||||
import ihm.PopUpBoolean;
|
||||
@ -97,10 +94,13 @@ public class PlateauController implements Initializable {
|
||||
*/
|
||||
public void seReveler(int numJoueur) throws IOException {
|
||||
System.out.println(listJoueur.get(numJoueur).getNom() + " se revele");
|
||||
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ressources/Reveler_son_identite.fxml"));
|
||||
Parent root = loader.load();
|
||||
final URL fxmlURL = getClass().getResource("../ressources/Reveler_son_identite.fxml");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Parent root = fxmlLoader.load();
|
||||
|
||||
|
||||
RevelationController rc = loader.getController();
|
||||
RevelationController rc = fxmlLoader.getController();
|
||||
rc.showInformation(listJoueur.get(numJoueur));
|
||||
|
||||
PopUp popup = new PopUp(root, "Consulter sa carte");
|
||||
@ -108,9 +108,11 @@ public class PlateauController implements Initializable {
|
||||
}
|
||||
|
||||
public boolean choisir(Joueur j) throws IOException {
|
||||
|
||||
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ressources/choisirBoolean.fxml"));
|
||||
Parent root = loader.load();
|
||||
final URL fxmlURL = getClass().getResource("../ressources/choisirBoolean.fxml");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Parent root = fxmlLoader.load();
|
||||
|
||||
|
||||
PopUpBoolean popup = new PopUpBoolean(root, "Consulter sa carte");
|
||||
return popup.display();
|
||||
@ -125,10 +127,13 @@ public class PlateauController implements Initializable {
|
||||
*/
|
||||
public void consulterSaCarte(int numJoueur) throws IOException {
|
||||
System.out.println(listJoueur.get(numJoueur).getNom() + " consulte sa carte");
|
||||
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ressources/afficher_carte_perso.fxml"));
|
||||
Parent root = loader.load();
|
||||
final URL fxmlURL = getClass().getResource("../ressources/afficher_carte_perso.fxml");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Parent root = fxmlLoader.load();
|
||||
|
||||
|
||||
AfficherCarteController acc = loader.getController();
|
||||
AfficherCarteController acc = fxmlLoader.getController();
|
||||
acc.showInformation(listJoueur.get(numJoueur));
|
||||
|
||||
PopUp popup = new PopUp(root, "Consulter sa carte");
|
||||
|
@ -2,11 +2,7 @@ package ihm.controller;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.ResourceBundle;
|
||||
import java.util.*;
|
||||
|
||||
import ihm.Couple;
|
||||
import javafx.fxml.FXML;
|
||||
@ -115,12 +111,14 @@ public class PlayersController implements Initializable{
|
||||
}
|
||||
// Creer une configuration
|
||||
//View.applyConfiguration(new Configuration(joueurs, nbJoueursV, nbJoueursH));
|
||||
|
||||
FXMLLoader loader = new FXMLLoader(getClass().getResource("../ressources/Plateau.fxml"));
|
||||
Parent root = loader.load();
|
||||
final URL fxmlURL = getClass().getResource("../ressources/Plateau.fxml");
|
||||
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRENCH);
|
||||
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
|
||||
Parent root = fxmlLoader.load();
|
||||
|
||||
|
||||
|
||||
PlateauController pc = loader.getController();
|
||||
PlateauController pc = fxmlLoader.getController();
|
||||
GestionnaireJeu.setPlateauController(pc);
|
||||
GestionnaireJeu.setConfiguration(new Configuration(this.joueurs));
|
||||
Map<Integer, Joueur> map = GestionnaireJeu.getJoueursMap(new Configuration(this.joueurs));
|
||||
|
@ -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>
|
||||
|
@ -21,12 +21,12 @@
|
||||
<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>
|
||||
|
@ -20,12 +20,12 @@
|
||||
<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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -282,4 +282,4 @@
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</AnchorPane>
|
24
src/ihm/ressources/EffetCarte.XML.fxml
Normal file
24
src/ihm/ressources/EffetCarte.XML.fxml
Normal file
@ -0,0 +1,24 @@
|
||||
<?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="625.0" prefWidth="947.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<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">
|
||||
<font>
|
||||
<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">
|
||||
<font>
|
||||
<Font size="52.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
99
src/ihm/ressources/Jouer_son_tour_donner_vision.fxml
Normal file
99
src/ihm/ressources/Jouer_son_tour_donner_vision.fxml
Normal file
@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?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">
|
||||
<children>
|
||||
<VBox prefHeight="400.0" prefWidth="600.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="106.0" prefWidth="600.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 1" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 2" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 3" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 4" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="184.0" prefWidth="600.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="178.0" prefWidth="599.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="103.0" text="%carte.vision">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="200.0" stroke="BLACK" strokeType="INSIDE" width="112.0" />
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="138.0" text="*Effet de la carte" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label prefHeight="27.0" prefWidth="340.0" text="%jouer.a.qui.donner.carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="111.0" prefWidth="600.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 5" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 6" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 7" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 8" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
51
src/ihm/ressources/Jouer_son_tour_piocher_lum_et_ten.fxml
Normal file
51
src/ihm/ressources/Jouer_son_tour_piocher_lum_et_ten.fxml
Normal file
@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?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">
|
||||
<children>
|
||||
<VBox prefHeight="400.0" prefWidth="600.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="54.0" text="%carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="27.0" prefWidth="175.0" text="*Lumiere ou Tenebre">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="190.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="198.0" stroke="BLACK" strokeType="INSIDE" width="130.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="111.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="54.0" text="%effet">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="27.0" prefWidth="142.0" text="*effet de la carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
46
src/ihm/ressources/Jouer_son_tour_piocher_vision.fxml
Normal file
46
src/ihm/ressources/Jouer_son_tour_piocher_vision.fxml
Normal file
@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?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">
|
||||
<children>
|
||||
<VBox prefHeight="400.0" prefWidth="600.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="106.0" text="%carte.vision">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="167.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="198.0" stroke="BLACK" strokeType="INSIDE" width="130.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="91.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="473.0" text="%catye.vue.par.joiur.pioche">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="69.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="%voir.carte" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
36
src/ihm/ressources/Jouer_son_tour_recevoir_blessure.fxml
Normal file
36
src/ihm/ressources/Jouer_son_tour_recevoir_blessure.fxml
Normal file
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?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">
|
||||
<children>
|
||||
<HBox alignment="CENTER" layoutY="1.0" prefHeight="400.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="87.0" text="*Joueur x*" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="52.0" text="%recoit" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="31.0" text="*n*" textAlignment="CENTER">
|
||||
<font>
|
||||
<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>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
20
src/ihm/ressources/Jouer_son_tour_vision_inefficace.fxml
Normal file
20
src/ihm/ressources/Jouer_son_tour_vision_inefficace.fxml
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?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">
|
||||
<children>
|
||||
<HBox alignment="CENTER" layoutY="1.0" prefHeight="400.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="149.0" text="%se.passe.rien" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
23
src/ihm/ressources/LancerDeDes.fxml
Normal file
23
src/ihm/ressources/LancerDeDes.fxml
Normal file
@ -0,0 +1,23 @@
|
||||
<?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="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">
|
||||
<font>
|
||||
<Font size="29.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="246.0" layoutY="175.0" mnemonicParsing="false" prefHeight="100.0" prefWidth="109.0" text="6">
|
||||
<font>
|
||||
<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" />
|
||||
</children>
|
||||
</Pane>
|
@ -16,7 +16,7 @@
|
||||
<Insets top="-250.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" onMouseClicked="#commencerPartie" prefHeight="51.0" prefWidth="102.0" styleClass="bouton" text="Jouer">
|
||||
<Button mnemonicParsing="false" onMouseClicked="#commencerPartie" prefHeight="51.0" prefWidth="102.0" styleClass="bouton" text="%jouer">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
@ -24,7 +24,7 @@
|
||||
<Insets top="150.0" />
|
||||
</VBox.margin>
|
||||
</Button>
|
||||
<Button mnemonicParsing="false" onMouseClicked="#afficherRegle" prefHeight="59.0" prefWidth="106.0" styleClass="bouton" text="Regles">
|
||||
<Button mnemonicParsing="false" onMouseClicked="#afficherRegle" prefHeight="59.0" prefWidth="106.0" styleClass="bouton" text="%regles">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
|
File diff suppressed because it is too large
Load Diff
34
src/ihm/ressources/PremierSecours.fxml
Normal file
34
src/ihm/ressources/PremierSecours.fxml
Normal file
@ -0,0 +1,34 @@
|
||||
<?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="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">
|
||||
<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="Choisissez un joueur" wrapText="true">
|
||||
<font>
|
||||
<Font size="35.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
@ -1,32 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<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" fx:controller="ihm.controller.RevelationController">
|
||||
<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>
|
||||
<HBox alignment="CENTER" prefHeight="480.0" prefWidth="640.0">
|
||||
<Pane layoutX="33.0" layoutY="41.0" prefHeight="325.0" prefWidth="561.0" style="-fx-border-color: blue;">
|
||||
<children>
|
||||
<ImageView fitHeight="326.0" fitWidth="233.5" pickOnBounds="true" preserveRatio="true">
|
||||
<HBox.margin>
|
||||
<Insets right="20.0" />
|
||||
</HBox.margin>
|
||||
</ImageView>
|
||||
<VBox alignment="CENTER" prefHeight="151.0" prefWidth="333.0" spacing="5.0">
|
||||
<VBox alignment="CENTER" layoutX="199.0" layoutY="101.0" prefHeight="151.0" prefWidth="333.0" spacing="5.0" style="-fx-background-color: blue;">
|
||||
<children>
|
||||
<HBox prefHeight="36.0" prefWidth="334.0">
|
||||
<children>
|
||||
<Label fx:id="nomJoueur" prefHeight="35.0" prefWidth="75.0" text="Joueur x " textFill="WHITE">
|
||||
<Label prefHeight="35.0" prefWidth="75.0" text="Joueur x " textFill="WHITE">
|
||||
<font>
|
||||
<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,12 +29,12 @@
|
||||
</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>
|
||||
</Label>
|
||||
<Label fx:id="nomPerso" prefHeight="34.0" prefWidth="182.0" text="*nom de personnage*" textFill="WHITE">
|
||||
<Label prefHeight="34.0" prefWidth="182.0" text="*nom de personnage*" textFill="WHITE">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -49,12 +43,12 @@
|
||||
</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>
|
||||
</Label>
|
||||
<Label fx:id="factionPerso" prefHeight="34.0" prefWidth="233.0" text="*insérer le nom de la faction*" textFill="WHITE">
|
||||
<Label prefHeight="34.0" prefWidth="233.0" text="*insérer le nom de la faction*" textFill="WHITE">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
@ -63,7 +57,8 @@
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="205.0" layoutX="35.0" layoutY="60.0" stroke="BLACK" strokeType="INSIDE" width="130.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
</Pane>
|
||||
</children>
|
||||
</Pane>
|
||||
|
35
src/ihm/ressources/Soigner.fxml
Normal file
35
src/ihm/ressources/Soigner.fxml
Normal file
@ -0,0 +1,35 @@
|
||||
<?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="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">
|
||||
<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="Choisissez un joueur que vous voulez soigner" wrapText="true">
|
||||
<font>
|
||||
<Font size="35.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
@ -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">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
|
34
src/ihm/ressources/jouerSonTour1.fxml
Normal file
34
src/ihm/ressources/jouerSonTour1.fxml
Normal file
@ -0,0 +1,34 @@
|
||||
<?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.shape.Polygon?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="589.0" prefWidth="881.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label layoutX="265.0" layoutY="29.0" text="%au.tour.de">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="200.0" layoutX="221.0" layoutY="135.0" stroke="BLACK" strokeType="INSIDE" width="200.0" />
|
||||
<Polygon fill="DODGERBLUE" layoutX="551.0" layoutY="216.0" points="-75.79998779296875, 98.80001831054688, 97.0, 98.80001831054688, 8.20001220703125, -59.199981689453125" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Button layoutX="401.0" layoutY="394.0" mnemonicParsing="false" text="%lancer.de.des" />
|
||||
<Label layoutX="275.0" layoutY="222.0" text="%score.des.1">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font></Label>
|
||||
<Label layoutX="516.0" layoutY="249.0" text="%score.des.2">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font></Label>
|
||||
<Label layoutX="535.0" layoutY="29.0" text="%joueur1">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
22
src/ihm/ressources/jouerSonTour2.fxml
Normal file
22
src/ihm/ressources/jouerSonTour2.fxml
Normal file
@ -0,0 +1,22 @@
|
||||
<?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.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="534.0" prefWidth="714.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label layoutX="355.0" layoutY="172.0" text="%description.capacite.carte.lieux">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="268.0" layoutX="96.0" layoutY="147.0" stroke="BLACK" strokeType="INSIDE" width="200.0" />
|
||||
<Button layoutX="348.0" layoutY="242.0" mnemonicParsing="false" text="%utiliser.capaciter.lieux" />
|
||||
<Button layoutX="542.0" layoutY="242.0" mnemonicParsing="false" text="%sauter.etape" />
|
||||
<Label layoutX="168.0" layoutY="273.0" text="%carte.lieux" />
|
||||
</children>
|
||||
</Pane>
|
35
src/ihm/ressources/jouerSonTour3.fxml
Normal file
35
src/ihm/ressources/jouerSonTour3.fxml
Normal file
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="451.0" prefWidth="654.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="661.0" spacing="60.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="%joueur1" />
|
||||
<Button mnemonicParsing="false" text="%joueur2" />
|
||||
<Button mnemonicParsing="false" text="%joueur3" />
|
||||
<Button mnemonicParsing="false" text="%joueur4" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label layoutX="196.0" layoutY="158.0" text="%attaquer.joueur">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="277.0" layoutY="213.0" mnemonicParsing="false" text="Ne pas attaquer" />
|
||||
<HBox alignment="CENTER" layoutY="337.0" prefHeight="100.0" prefWidth="661.0" spacing="60.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="%joueur5" />
|
||||
<Button mnemonicParsing="false" text="%joueur6" />
|
||||
<Button mnemonicParsing="false" text="%joueur7" />
|
||||
<Button mnemonicParsing="false" text="%joueur8" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
39
src/ihm/ressources/jouerSonTour4.fxml
Normal file
39
src/ihm/ressources/jouerSonTour4.fxml
Normal file
@ -0,0 +1,39 @@
|
||||
<?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.shape.Polygon?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="589.0" prefWidth="881.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label layoutX="401.0" layoutY="29.0" text="attaque">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="200.0" layoutX="221.0" layoutY="135.0" stroke="BLACK" strokeType="INSIDE" width="200.0" />
|
||||
<Polygon fill="DODGERBLUE" layoutX="551.0" layoutY="216.0" points="-75.79998779296875, 98.80001831054688, 97.0, 98.80001831054688, 8.20001220703125, -59.199981689453125" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Button layoutX="401.0" layoutY="394.0" mnemonicParsing="false" text="%lancer.de.des" />
|
||||
<Label layoutX="275.0" layoutY="222.0" text="%score.des.1">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font></Label>
|
||||
<Label layoutX="516.0" layoutY="249.0" text="%score.des.2">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font></Label>
|
||||
<Label layoutX="535.0" layoutY="29.0" text="%joueur2">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label layoutX="253.0" layoutY="29.0" text="%joueur1">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
30
src/ihm/ressources/jouerSonTour6.fxml
Normal file
30
src/ihm/ressources/jouerSonTour6.fxml
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="419.0" prefWidth="614.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<HBox alignment="CENTER" layoutX="97.0" layoutY="49.0" prefHeight="340.0" prefWidth="489.0" spacing="60.0">
|
||||
<children>
|
||||
<Label text="%piocher.carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0" spacing="60.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="%carte.vision" />
|
||||
<Button mnemonicParsing="false" text="%carte.tenebre" />
|
||||
<Button mnemonicParsing="false" text="%carte.lumiere" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
35
src/ihm/ressources/jouerSonTour7.fxml
Normal file
35
src/ihm/ressources/jouerSonTour7.fxml
Normal file
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="451.0" prefWidth="654.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="661.0" spacing="60.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="%joueur1" />
|
||||
<Button mnemonicParsing="false" text="%joueur2" />
|
||||
<Button mnemonicParsing="false" text="%joueur3" />
|
||||
<Button mnemonicParsing="false" text="%joueur4" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label layoutX="85.0" layoutY="163.0" text="%attaquer.ou.soigner">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<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" />
|
||||
<Button mnemonicParsing="false" text="%joueur6" />
|
||||
<Button mnemonicParsing="false" text="%joueur7" />
|
||||
<Button mnemonicParsing="false" text="%joueur8" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
Loading…
x
Reference in New Issue
Block a user