java.lang.ObjectBingoGame
public class BingoGame
Bingo Game:
A BingoGame object controls the play of a game of bingo.
Field Summary | |
---|---|
static int |
MAX_VALUE
The numbers on the Bingo cards will range from 1 to MAX_VALUE. |
Constructor Summary | |
---|---|
BingoGame()
Constructs an object that controls games of Bingo. |
Method Summary | |
---|---|
void |
onCompleteColumnWinsButtonClick()
Includes or removes the Complete Column Marked winning strategy when user clicks the appropriate button. |
void |
onCompleteRowWinsButtonClick()
Includes or removes the Complete Row Marked winning strategy when user clicks the appropriate button. |
void |
onPlayButtonClick()
Plays a game of Bingo when user clicks the Play button. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAX_VALUE
Constructor Detail |
---|
public BingoGame()
Method Detail |
---|
public void onCompleteColumnWinsButtonClick()
public void onCompleteRowWinsButtonClick()
public void onPlayButtonClick()
setDisplay
must be called first.)