public class JumpnRun
extends java.lang.Object
Constructor and Description |
---|
JumpnRun() |
Modifier and Type | Method and Description |
---|---|
void |
finish()
ends the minigame
|
javafx.scene.Scene |
getScn_jumpnrun() |
void |
init()
initialize minigame
|
void |
initKeys()
initialize the keys
|
boolean |
isShowTutorial() |
void |
lose()
stop the timers of 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() |
public void init()
public void initKeys()
public void startTimer()
public void stopTimer()
public void showTutorial()
public void finish()
public void lose()
public void reset(boolean full)
full
- also resets the triespublic javafx.scene.Scene getScn_jumpnrun()
public void setShowTutorial(boolean showTutorial)
showTutorial
- boolean to show minigamepublic boolean isShowTutorial()