io.nuun.kernel.api.plugin
Class RoundEnvironmentInternal
java.lang.Object
io.nuun.kernel.api.plugin.RoundEnvironmentInternal
- All Implemented Interfaces:
- RoundEnvironment
public class RoundEnvironmentInternal
- extends Object
- implements RoundEnvironment
Default implementation of RoundEnvironment.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoundEnvironmentInternal
public RoundEnvironmentInternal()
- Constructor.
roundNumber
public int roundNumber()
- Specified by:
roundNumber in interface RoundEnvironment
- Returns:
- the current round number.
incrementRoundNumber
public void incrementRoundNumber()
- Increments the round number.
firstRound
public boolean firstRound()
- Specified by:
firstRound in interface RoundEnvironment
- Returns:
- true if we are in the first round.
Copyright © 2012-2015. All Rights Reserved.