Class Main


  • public class Main
    extends javafx.application.Application
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javafx.application.Application

        javafx.application.Application.Parameters
    • Field Summary

      • Fields inherited from class javafx.application.Application

        STYLESHEET_CASPIAN, STYLESHEET_MODENA
    • Constructor Summary

      Constructors 
      Constructor Description
      Main()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(String[] args)
      The 'main' method - this is used when launching from the command line.
      void start​(javafx.stage.Stage window)
      the 'start' method - this creates the Model, View and Controller objects and // makes them talk to each other, it then sets up the user interface (in the View // object) and starts the game running (in the Model object)
      • Methods inherited from class javafx.application.Application

        getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
    • Constructor Detail

      • Main

        public Main()
    • Method Detail

      • main

        public static void main​(String[] args)
        The 'main' method - this is used when launching from the command line.
      • start

        public void start​(javafx.stage.Stage window)
        the 'start' method - this creates the Model, View and Controller objects and // makes them talk to each other, it then sets up the user interface (in the View // object) and starts the game running (in the Model object)
        Specified by:
        start in class javafx.application.Application