|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ninm.games.cardgames.belot.BelotBid
this is the bid which a belot game would use
Nested Class Summary | |
static class |
BelotBid.DoublingFactor
This class represents the doubling factor for a belot game (e.g. |
Field Summary | |
private BelotGame |
m_belotGame
|
private BelotBid.DoublingFactor |
m_doublingFactor
|
Constructor Summary | |
BelotBid(BelotBid.DoublingFactor doublingFactor,
BelotGame belotGame)
Constructor for BelotBid. |
Method Summary | |
boolean |
equals(java.lang.Object other)
|
BelotGame |
getBelotGame()
Returns the belotGame. |
java.lang.String |
getDisplayValue()
returns the display value for this bid |
BelotBid.DoublingFactor |
getDoublingFactor()
Returns the doublingFactor. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private final BelotGame m_belotGame
private final BelotBid.DoublingFactor m_doublingFactor
Constructor Detail |
public BelotBid(BelotBid.DoublingFactor doublingFactor, BelotGame belotGame)
doublingFactor
- the doubling factor (e.g. Doubled or Redoubled)belotGame
- a reference to the currant gameMethod Detail |
public BelotBid.DoublingFactor getDoublingFactor()
public BelotGame getBelotGame()
public java.lang.String getDisplayValue()
Bid
getDisplayValue
in interface Bid
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |