Package Worms
Class Worms
- java.lang.Object
-
- javafx.application.Application
-
- Worms.Worms
-
public class Worms extends javafx.application.Application
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javafx.stage.Stage
stage
-
Constructor Summary
Constructors Constructor Description Worms()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Startuje javafxvoid
start(javafx.stage.Stage primaryStage)
void
startGame(int id, int hp, int teamsize)
Priradenie druhej sceny k stagu,inic.
-
-
-
Method Detail
-
start
public void start(javafx.stage.Stage primaryStage)
- Specified by:
start
in classjavafx.application.Application
-
startGame
public void startGame(int id, int hp, int teamsize)
Priradenie druhej sceny k stagu,inic. a spustenie animacii vykreslujucich Pane- Parameters:
id
- udava ktora z mapiek je vybratahp
- udava kolko hp budu wormsovia matteamsize
- udava kolko wormsov bude na mapke
-
main
public static void main(java.lang.String[] args)
Startuje javafx- Parameters:
args
- argumenty
-
-