public class Round
extends java.lang.Object
Round consists of Turn which may or may not
have an Action. Rounds are contained in the Session object. A
party can have multiple turns in a single round.| Constructor and Description |
|---|
Round()
Creates a new instance of the
Round object. |
Round(Round round)
Creates a new instance of the
Round object. |
| Modifier and Type | Method and Description |
|---|---|
void |
addTurn(Turn turn)
Add a turn to this round.
|
java.util.List<Action> |
getActions()
Gets the actions in done in this round.
|
Action |
getMostRecentAction()
get the last item of the
getActions() list, which in practice
should be the most recent action of this round. |
java.util.List<Turn> |
getTurns()
Gets the turns in this round.
|
public Round()
Round object.public java.util.List<Turn> getTurns()
Turn object for more
information.Turn objects in this roundpublic java.util.List<Action> getActions()
public void addTurn(Turn turn)
Turn for more information.turn - the turn to add.public Action getMostRecentAction()
getActions() list, which in practice
should be the most recent action of this round.