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

コンストラクタの概要
OmahaHoldemPlayer(int id, java.lang.String name)
          コンストラクタ。
 
メソッドの概要
 Card.Rank[] getLowCards()
          ローカードを返します。
 void setLowCards(Card.Rank[] lowCards)
          ローカードを設定します。
protected  void sortCards()
          カードをソートします。
 
クラス slime.poker.util.HighPlayer から継承されたメソッド
getHand, getHighCards, setHand, setHighCards
 
クラス slime.poker.Player から継承されたメソッド
equals, getCards, getId, getName, getOriginalOrderCards, hashCode, setCards, toString
 
クラス java.lang.Object から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
インタフェース slime.poker.StrengthJudgeable から継承されたメソッド
getCards
 

コンストラクタの詳細

OmahaHoldemPlayer

public OmahaHoldemPlayer(int id,
                         java.lang.String name)
コンストラクタ。

パラメータ:
id - プレイヤーID
name - プレイヤー名
メソッドの詳細

getLowCards

public Card.Rank[] getLowCards()
ローカードを返します。

戻り値:
ローカード

setLowCards

public void setLowCards(Card.Rank[] lowCards)
インタフェース LowJudgeable の記述:
ローカードを設定します。

定義:
インタフェース LowJudgeable 内の setLowCards
パラメータ:
lowCards - ローカード

sortCards

protected void sortCards()
クラス Player の記述:
カードをソートします。

オーバーライド:
クラス HighPlayer 内の sortCards