|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.ninm.games.cardgames.belot.StateAdapter
|
+--org.ninm.games.cardgames.belot.BiddingState
This class represents the state the game is in when the players are bidding for a game
| Field Summary | |
private int |
passes
|
| Fields inherited from class org.ninm.games.cardgames.belot.StateAdapter |
m_belotEngine |
| Constructor Summary | |
BiddingState(BelotEngine belotEngine)
|
|
| Method Summary | |
boolean |
bidMade(BelotBid bid)
indicates a bid has been made by a particluar player |
java.util.Set |
getAllowedBids()
returs the allowed bids the current player can make |
void |
start()
starts the logic of this state! |
| Methods inherited from class org.ninm.games.cardgames.belot.StateAdapter |
announceTrick, getAllowedCards, getAllowedTricks, playCard |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int passes
| Constructor Detail |
public BiddingState(BelotEngine belotEngine)
| Method Detail |
public boolean bidMade(BelotBid bid)
State
bidMade in interface StatebidMade in class StateAdapterbid - the bid being made
public java.util.Set getAllowedBids()
State
getAllowedBids in interface StategetAllowedBids in class StateAdapterpublic void start()
State
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||