slime.poker.util
クラス OmahaHoldemPlayer
java.lang.Object
slime.poker.Player
slime.poker.util.HighPlayer
slime.poker.util.OmahaHoldemPlayer
- すべての実装されたインタフェース:
- HighJudgeable, LowJudgeable, StrengthJudgeable
public class OmahaHoldemPlayer
- extends HighPlayer
- implements LowJudgeable
オマハホールデムのプレイヤーを表すクラスです。
sortCards
メソッドではポケットとボードでそれぞれ降順でソートします。
- バージョン:
- 1.0, 2004/11/07
- 作成者:
- slime
クラス java.lang.Object から継承されたメソッド |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
OmahaHoldemPlayer
public OmahaHoldemPlayer(int id,
java.lang.String name)
- コンストラクタ。
- パラメータ:
id
- プレイヤーIDname
- プレイヤー名
getLowCards
public Card.Rank[] getLowCards()
- ローカードを返します。
- 戻り値:
- ローカード
setLowCards
public void setLowCards(Card.Rank[] lowCards)
- インタフェース
LowJudgeable
の記述:
- ローカードを設定します。
- 定義:
- インタフェース
LowJudgeable
内の setLowCards
- パラメータ:
lowCards
- ローカード
sortCards
protected void sortCards()
- クラス
Player
の記述:
- カードをソートします。
- オーバーライド:
- クラス
HighPlayer
内の sortCards