Adjacent Files

Project Info

. > app > src > main > java > james > asteroid > views > GameView.java

play

Type: public void

Start a new game! Wheeeeeeeeee!

Parameter Name Description
isTutorial Should this game start with a tutorial?

stop

Type: public void

Stop the game, reset everything.

isPlaying

Type: public boolean

Determine if a game is being played.

Returned Value: Whether a game is being played.

isTutorial

Type: public boolean

Determine whether the tutorial is currently being played.

Returned Value: Whether the tutorial is currently being played.