equal
deleted
inserted
replaced
537 } |
537 } |
538 |
538 |
539 /** |
539 /** |
540 * Update internal state for a new round. |
540 * Update internal state for a new round. |
541 */ |
541 */ |
542 public void newRound(Context context, boolean lastRound) { |
542 public void newRound(Context context) { |
543 this.context = context; |
543 this.context = context; |
544 this.log = Log.instance(context); |
544 this.log = Log.instance(context); |
|
545 clearRoundState(); |
|
546 } |
|
547 |
|
548 void setLastRound(boolean lastRound) { |
545 this.lastRound = lastRound; |
549 this.lastRound = lastRound; |
546 clearRoundState(); |
|
547 } |
550 } |
548 |
551 |
549 public void close() { |
552 public void close() { |
550 clearRoundState(); |
553 clearRoundState(); |
551 // Cross-round state |
554 // Cross-round state |