public class RaceGame
extends java.lang.Object
Constructor and Description |
---|
RaceGame() |
Modifier and Type | Method and Description |
---|---|
void |
finish()
ends the minigame
|
javafx.scene.Scene |
getScn_racegame() |
void |
init()
initialize the minigame
|
void |
initKeys()
initialize the keys
|
boolean |
isShowTutorial() |
void |
lose()
loses the minigame
|
void |
reset(boolean full)
reset the minigame
|
void |
setShowTutorial(boolean showTutorial) |
void |
showTutorial() |
void |
startTimer()
start the timers of the minigame
|
void |
stopTimer()
stop the timers of the minigame
|
public void init()
public void initKeys()
public void startTimer()
public void stopTimer()
public void finish()
public void showTutorial()
public void lose()
public void reset(boolean full)
full
- also resets the triespublic javafx.scene.Scene getScn_racegame()
public void setShowTutorial(boolean showTutorial)
showTutorial
- boolean to show minigamepublic boolean isShowTutorial()