ggz.cards.client
Class Team

java.lang.Object
  extended by ggz.cards.client.Team

public class Team
extends java.lang.Object


Constructor Summary
Team()
           
 
Method Summary
 void addScore(ScoreData s, int handNum)
          Adds a new score for this team.
 ScoreData getScore()
           
 void setScore(ScoreData s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Team

public Team()
Method Detail

addScore

public void addScore(ScoreData s,
                     int handNum)
Adds a new score for this team. If handNum is not the same same as the next index in the score list then an IllegalArgumentException is thrown. Scores are stored indexed by hand number.


setScore

public void setScore(ScoreData s)

getScore

public ScoreData getScore()