|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjskat.player.AIPlayerMJL.RamschPlayer
public class RamschPlayer
| Constructor Summary | |
|---|---|
RamschPlayer(int id)
Constructor |
|
| Method Summary | |
|---|---|
int |
getPlayerID()
Gets the player ID |
int |
playNextCard(CardVector cards,
TrickInfo trick)
Gets the next card, that the player wants to play |
void |
setPlayerID(int i)
Sets the player ID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RamschPlayer(int id)
id - playerID| Method Detail |
|---|
public int playNextCard(CardVector cards,
TrickInfo trick)
playNextCard in interface CardPlayercards - hand of the playertrick - 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 | |||||||||