org.ninm.games.cardgames
Interface Team

All Known Implementing Classes:
DefaultTeam

public interface Team

This interface defines the functionality of a team participating in a card game

Version:
1.0
Author:
Nikolay

Method Summary
 java.util.Set getAnnouncedTricks()
          returns a list of announced tricks in the current game
 java.lang.String getName()
          returns the name of the team
 boolean isActiveTeam()
          returns true if its this teams turn
 

Method Detail

getName

public java.lang.String getName()
returns the name of the team

Returns:
String the name of the team

isActiveTeam

public boolean isActiveTeam()
returns true if its this teams turn

Returns:
boolean true if its this teams turn

getAnnouncedTricks

public java.util.Set getAnnouncedTricks()
returns a list of announced tricks in the current game

Returns:
List announced tricks in the current game

SourceForge.net Logo