|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Your team should implement this interface!
Provides information about a team, and fetches its players.
Method Summary | |
GoalKeeper |
getGoalKeeper()
Fetch the team's goal-keeper. |
int |
getLuckyNumber()
Returns the team's LUCKY NUMBER in range 0-99999. |
Player |
getPlayer(int index)
Fetch a player. |
java.awt.Color |
getSecondaryTeamColor()
A team secondary color for the players' helmets. |
java.lang.String |
getShortName()
A three to four letter long short name of the team. |
java.awt.Color |
getTeamColor()
A team color for the players' shirts. |
java.lang.String |
getTeamName()
A full team name. |
Method Detail |
public java.lang.String getShortName()
public java.lang.String getTeamName()
public java.awt.Color getTeamColor()
public java.awt.Color getSecondaryTeamColor()
public GoalKeeper getGoalKeeper()
public int getLuckyNumber()
public Player getPlayer(int index)
index
- the index of the player, in:
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |