init method
Initializes the RankGenerator with the total value.
This function should be called before any rank updates.
Implementation
void init(int value) {
_current = 0;
_granted = false;
_total = value;
}
Initializes the RankGenerator with the total value.
This function should be called before any rank updates.
void init(int value) {
_current = 0;
_granted = false;
_total = value;
}