public class CS15FruitNinjaFrame
extends java.lang.Object
| Constructor and Description |
|---|
CS15FruitNinjaFrame(javafx.stage.Stage stage)
Creates a new CS15FruitNinjaFrame to open the FruitNinja Application.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGame(CS15FruitNinjaGame game)
A SUPPORT method that adds the game to the frame.
|
void |
setTop(CS15ScoreController scoreController)
A SUPPORT method that adds the score controller to the top of the frame.
|
public CS15FruitNinjaFrame(javafx.stage.Stage stage)
stage - The stage that the game will be set inpublic void addGame(CS15FruitNinjaGame game)
game - The game the student wants to showpublic void setTop(CS15ScoreController scoreController)
scoreController - The score display the student wants to show