jagafa.stats
Class RoundStats

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

public class RoundStats
extends java.lang.Object

GameStats takes a Game object and collects some statistics about it Mainly from the view of the active Player!


Constructor Summary
RoundStats(JassRound round)
           
 
Method Summary
 CardList[] getGoneList()
           
 int getScoreTeam1()
           
 int getScoreTeam2()
           
 javax.swing.JComponent getView()
           
 void setRound(JassRound round)
           
 int turnsPlayed()
           
 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

RoundStats

public RoundStats(JassRound round)
Method Detail

update

public void update()
Update the stats


getGoneList

public CardList[] getGoneList()
Returns:
Returns the goneList in the form CardList[color].

getScoreTeam1

public int getScoreTeam1()
Returns:
Returns the scoreTeam1.

getScoreTeam2

public int getScoreTeam2()
Returns:
Returns the scoreTeam2.

turnsPlayed

public int turnsPlayed()

setRound

public void setRound(JassRound round)

getView

public javax.swing.JComponent getView()


Copyright 2005 MA Software. All Rights Reserved.