public class RoundCount
extends java.lang.Object
Constructor and Description |
---|
RoundCount(int limit)
Creates new RoundCount instance.
|
RoundCount(int lower,
int top)
Creates new RoundCount instance.
|
Modifier and Type | Method and Description |
---|---|
int |
get() |
int |
previous() |
void |
tick() |
public RoundCount(int limit)
limit
- Maximum top value for this counter. Inclusive.public RoundCount(int lower, int top)
lower
- - Minimum value for this counter. Inclusivetop
- - Maximum value for this counter. Inclusive.