Class FPanelNouvellePartie

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FPanelNouvellePartie extends FPanelLanceurPartie
A partie launcher Panel that create a new partie.
Author:
Hydrolien
See Also:
  • Field Details

  • Constructor Details

    • FPanelNouvellePartie

      public FPanelNouvellePartie(int w, int h)
  • Method Details

    • rafraichirPgej

      public void rafraichirPgej()
    • getGej

      public GEtiquetteJoueur getGej()
    • getTaille

      public int getTaille()
    • getPGej

      public FPanelGEtiquetteJoueur getPGej()
    • getJcc

      public JColorChooser getJcc()
    • paintComponent

      public void paintComponent(Graphics g)
      Description copied from class: FPanel
      Paint function with a debug tool.
      Overrides:
      paintComponent in class FPanel
    • getPartie

      public Partie getPartie()
      Specified by:
      getPartie in class FPanelLanceurPartie
    • mapList

      public fr.formiko.usual.structures.listes.GString mapList()
      Do a list of the maps.
      Returns:
      a list of all aviable map in all possible path.
    • addMapList

      private void addMapList(String path, fr.formiko.usual.structures.listes.GString gsr)
      add all .csv file from path folder.
      Path with ~ are not accepted because they are probably some lock file create by LibreOffice.
    • calculeVitesseDeJeu

      public double calculeVitesseDeJeu()
    • calculeDif

      public int calculeDif()
    • addJcc

      private void addJcc()
      Initialize a JColorChooser that will be used by every FPanelColorChooser.