jagafa.stats
Class PlayerStats

java.lang.Object
  extended by jagafa.stats.PlayerStats

public class PlayerStats
extends java.lang.Object


Constructor Summary
PlayerStats(JassRound round, Player player)
           
PlayerStats(RuleSet rules, Player player)
           
 
Method Summary
 int countColorCards(int color)
           
 CardList[] getBockList()
           
 CardList[] getColorList()
           
 Player getPlayer()
           
 CardList getTrumpfList()
           
 CardList getValidList()
           
 javax.swing.JComponent getView()
           
 void setPlayer(Player p)
           
 void setRound(JassRound round)
           
 void update()
          Update the stats
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerStats

public PlayerStats(JassRound round,
                   Player player)

PlayerStats

public PlayerStats(RuleSet rules,
                   Player player)
Method Detail

update

public void update()
Update the stats


getBockList

public CardList[] getBockList()
Returns:
Returns the bockList array where the array has the form arr[level]

getColorList

public CardList[] getColorList()
Returns:
Returns the colorList in the form CardList[color].

getTrumpfList

public CardList getTrumpfList()
Returns:
Returns the trumpfList

countColorCards

public int countColorCards(int color)

getValidList

public CardList getValidList()
Returns:

setRound

public void setRound(JassRound round)

getView

public javax.swing.JComponent getView()

getPlayer

public Player getPlayer()

setPlayer

public void setPlayer(Player p)


Copyright 2005 MA Software. All Rights Reserved.