|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.bluebones.boggle.Rubber
public class Rubber
Class representing an ongoing series of games. Keeps track of cumulative scores of the participants.
Constructor Summary | |
---|---|
Rubber()
Initializes an empty Rubber . |
Method Summary | |
---|---|
void |
addClient(NamedClient namedClient)
Adds the specified client to this Rubber . |
void |
addScores(Round round)
Adds the scores from round to this Rubber 's
totals. |
Map |
getScores()
Gets the current scores. |
void |
remove(NamedClient client)
Remove client from the Rubber . |
void |
removeAll(Collection clients)
Remove all NamedClient s in clients from
this Rubber . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Rubber()
Rubber
.
Method Detail |
---|
public void addClient(NamedClient namedClient)
Rubber
.
namedClient
- NamedClient
to add.public void addScores(Round round)
round
to this Rubber
's
totals.
round
- Round
to add.public Map getScores()
Map
of NamedClient
= int
scores.public void remove(NamedClient client)
client
from the Rubber
.
client
- NamedClient
to remove.public void removeAll(Collection clients)
NamedClient
s in clients
from
this Rubber
.
clients
- Collection
to remove.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |