|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--DisplayPanel | +--GamingWheelPlayerView
View for a player in a gaming wheel game.
Constructor Summary | |
GamingWheelPlayerView()
Constructs a new player view. |
Method Summary | |
void |
bet()
Makes pseudo-random bets. |
boolean |
isBroke()
Returns whether or not this player is broke. |
void |
newGame()
Starts a new game. |
void |
update(Prize aPrize)
Updates this player based on the given prize result. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GamingWheelPlayerView()
Method Detail |
public void newGame()
public void update(Prize aPrize)
aPrize
- prize that came up on the wheelpublic boolean isBroke()
public void bet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |