|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soccerclient.datamanager.Score
Überschrift: Score
Beschreibung: In this class the score of the game is safed.
Copyright: Copyright (c) 2002
Organisation: pm39
Constructor Summary | |
Score()
Creates a new Score instance with 0 : 0 |
|
Score(int left,
int right)
Creates a new Score |
Method Summary | |
int |
getLeftScore()
Returns the score of the left team |
int |
getRightScore()
Returns the score of the right team |
void |
setScore(int left,
int right)
Sets the value of the score |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Score()
Score
instance with 0 : 0public Score(int left, int right)
Score
left
- a int
value specifying score of left teamright
- a int
value specifying score of right teamMethod Detail |
public void setScore(int left, int right)
left
- a int
value specifying score of left teamright
- a int
value specifying score of right teampublic int getLeftScore()
Score
containing the score of the left teampublic int getRightScore()
Score
containing the score of the right team
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |