public class ScoresUI
extends java.lang.Object
Constructor and Description |
---|
ScoresUI(IStage stage)
Instantiates a new scores ui.
|
Modifier and Type | Method and Description |
---|---|
IItem |
getContentItem()
Gets the content item.
|
void |
setScores(int correct,
int incorrect)
Sets the scores.
|
void |
setVisible(boolean b)
Sets the visible.
|
public ScoresUI(IStage stage)
stage
- the stagepublic IItem getContentItem() throws ContentTypeNotBoundException
ContentTypeNotBoundException
- the content type not bound exceptionpublic void setScores(int correct, int incorrect)
correct
- the correctincorrect
- the incorrectpublic void setVisible(boolean b)
b
- the new visible