
Games::Euchre::Team - Team class for Euchre card game

The Team object is used to keep track of bidding information and current score for the two teams in a Euchre game.

Create and initialize a new Euchre team for the specified game. The number is "1" or "2". The name is a string used to identify this team. The players are instantiated Games::Euchre::Player instances.

Return the Euchre game instance to which this team belongs.
Returns the team recorded in the setOtherTeam() method.
Increment this team's game score by this amount.
Increment this team's trick count by one.
Return this team's number, between 1 and 2
Return the team name.
Return an array of the two players on this team.
Return the current game score for this team.\
Return the number of tricks won by this team in the current hand.
Returns a boolean indicating whether a member of this team chose to go alone on a bid.
Returns a boolean indicating whether a member of this team called the trump suit during bidding.
Clear all of the state for the current game and get ready for the next one.
Clear all of the state for the current hand and get ready for the next one.


GNU Public License, version 2

Chris Dolan, chrisdolan@users.sourceforge.net