25 lines
575 B
Java
25 lines
575 B
Java
package ihm;
|
|
|
|
|
|
import javafx.application.Application;
|
|
import javafx.fxml.FXMLLoader;
|
|
import javafx.scene.Parent;
|
|
import javafx.scene.Scene;
|
|
import javafx.stage.Stage;
|
|
|
|
public class Main extends Application{
|
|
@Override
|
|
public void start(Stage primaryStage) throws Exception{
|
|
Parent root = FXMLLoader.load(getClass().getResource("ressources/Menu.fxml"));
|
|
primaryStage.setTitle("Shadow Hunters");
|
|
primaryStage.setScene(new Scene(root));
|
|
primaryStage.show();
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
launch(args);
|
|
}
|
|
|
|
|
|
}
|