|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjskat.player.AIPlayerMJL.OpponentPlayer
public class OpponentPlayer
| Constructor Summary | |
|---|---|
OpponentPlayer(int id)
Constructor |
|
| Method Summary | |
|---|---|
int |
getPlayerID()
Getter for playerID |
int |
playNextCard(CardVector cards,
TrickInfo trickInfo)
Gets the next card that the player wants to play |
void |
setPlayerID(int i)
Setter for playerID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpponentPlayer(int id)
id - playerID| Method Detail |
|---|
public int playNextCard(CardVector cards,
TrickInfo trickInfo)
playNextCard in interface CardPlayercards - hand of the playertrickInfo - all necessary information about the trick
CardPlayer.playNextCard(jskat.share.CardVector, jskat.player.AIPlayerMJL.TrickInfo)public int getPlayerID()
getPlayerID in interface CardPlayerpublic void setPlayerID(int i)
setPlayerID in interface CardPlayeri -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||