Class Main
- java.lang.Object
-
- javafx.application.Application
-
- Main
-
public class Main extends javafx.application.Application
-
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)The 'main' method - this is used when launching from the command line.voidstart(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)
-
-
-
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:
startin classjavafx.application.Application
-
-