Coverage Summary for Class: ClientLauncherGUI (it.polimi.ingsw.gc14)

Class Method, % Line, %
ClientLauncherGUI 0% (0/2) 0% (0/4)
ClientLauncherGUI$GUIApp 0% (0/2) 0% (0/5)
Total 0% (0/4) 0% (0/9)


 package it.polimi.ingsw.gc14;
 
 import it.polimi.ingsw.gc14.Controller.ClientController;
 import it.polimi.ingsw.gc14.View.GUI.GUI;
 import javafx.application.Application;
 import javafx.stage.Stage;
 
 /** Entry point for launching the game client with the JavaFX GUI. */
 public class ClientLauncherGUI {
 
     /**
      * Launches the GUI application.
      *
      * @param args command-line arguments passed to the JavaFX runtime.
      */
     static void main(String[] args) {
         System.setProperty("glass.gtk.uiScale", "1.0");
         System.setProperty("glass.win.uiScale", "1.0");
         Application.launch(GUIApp.class, args);
     }
     /**
      * Inner {@link Application} subclass that wires the GUI to the client controller
      * and hands off control to {@link GUI#start(Stage)}.
      */
     public static class GUIApp extends Application {
         @Override
         public void start(Stage stage) throws Exception {
             GUI view = new GUI();
             ClientController controller = new ClientController(view);
             view.setController(controller);
             view.start(stage);
         }
     }
 }