|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Player | |
|---|---|
| jagafa | |
| jagafa.ai | |
| jagafa.object | |
| jagafa.stats | |
| jagafa.view.newui | |
| Uses of Player in jagafa |
|---|
| Methods in jagafa that return Player | |
|---|---|
Player |
JassRoundCore.activePlayer()
Returns the active Player |
protected Player |
JassRoundCore.getLastTurnWinner()
Returns the Player which was the winner of the previous turn |
Player[] |
JassRoundCore.getOpponents(Player p)
Returns the opponents of the Player p |
Player |
JassRoundCore.getPartner(Player pl)
Returns the Partner of Player pl |
Player |
JassRoundCore.getPlayer(int i)
Returns the player with the id given |
protected Player |
JassRoundCore.getWinner(Board board)
Returns the winning Player of the board given |
protected Player |
JassRoundCore.nextPlayer()
Sets the active player to the next |
| Methods in jagafa with parameters of type Player | |
|---|---|
protected void |
JassRoundCore.addPlayer(Player newPlayer)
|
Player[] |
JassRoundCore.getOpponents(Player p)
Returns the opponents of the Player p |
Player |
JassRoundCore.getPartner(Player pl)
Returns the Partner of Player pl |
int |
JassRoundCore.getPlayerNr(Player p)
Returns an id for the player p |
void |
JassRound.playCard(Card card,
Player player)
Adds a card of Player p to the active Board, if valid |
void |
JassRoundCore.setActivePlayer(Player playerToSet)
Set the active player |
protected void |
JassRoundCore.setLastTurnWinner(Player winner)
|
void |
JassRound.start(Player startPlayer)
|
| Uses of Player in jagafa.ai |
|---|
| Methods in jagafa.ai with parameters of type Player | |
|---|---|
static RuleSet |
RuleSetChoiceAI.chooseRuleSet(Player p,
JassRound round)
|
float |
ProbabilityTable.getCardProb(Player p,
Card c)
Get the probability of a Player having a specific card |
float |
ProbabilityTable.getColorProb(Player p,
int color)
Get the probability of a Player having cards of a specific color |
void |
CoreAI.init(Player p,
JassRound game)
|
void |
JassAI.init(Player p,
JassRound game)
Initializes the AI with the Player and the Game object |
void |
ProbabilityAI.init(Player p,
JassRound game)
|
void |
SimpleAI.init(Player p,
JassRound round)
|
| Constructors in jagafa.ai with parameters of type Player | |
|---|---|
ProbabilityTable(Player p,
JassRound game)
Constructor: Create the ProbabilityTable and init all values |
|
| Uses of Player in jagafa.object |
|---|
| Methods in jagafa.object that return Player | |
|---|---|
Player |
Board.getPlayerOfPos(int pos)
Get the Player who played the n-th card |
Player |
GoneCardHeap.getWinner(int turnNr)
|
| Methods in jagafa.object with parameters of type Player | |
|---|---|
void |
Board.addCard(Card c,
Player p)
Adds a Card to the Board |
void |
GoneCardHeap.addTurn(Board b,
Player winner)
Adds the turn to the GoneCardHeap |
Card |
GoneCardHeap.getPlayedCard(Player player,
Board b)
Get the card a specific Player played on a specific Board |
boolean |
GoneCardHeap.hasPlayedColorIn(Player player,
Board board)
|
| Method parameters in jagafa.object with type arguments of type Player | |
|---|---|
static void |
Distributor.distributeCardsTo(java.util.List<Player> playerList)
Distrubute the Cards to the Players in the List given |
| Uses of Player in jagafa.stats |
|---|
| Methods in jagafa.stats that return Player | |
|---|---|
Player |
PlayerStats.getPlayer()
|
| Methods in jagafa.stats with parameters of type Player | |
|---|---|
void |
PlayerStats.setPlayer(Player p)
|
| Constructors in jagafa.stats with parameters of type Player | |
|---|---|
PlayerStats(JassRound round,
Player player)
|
|
PlayerStats(RuleSet rules,
Player player)
|
|
| Uses of Player in jagafa.view.newui |
|---|
| Methods in jagafa.view.newui with parameters of type Player | |
|---|---|
void |
RoundStatsPanel.update(Player player)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||