Interface GameStatistic<T>
- Type Parameters:
- T- statistic type. We usually work with integers.
- All Superinterfaces:
- Comparable<GameStatistic<T>>
Game statistic.
- 
Method SummaryModifier and TypeMethodDescriptionintcompareTo(@NotNull GameStatistic<T> o) Comparison for tops.getDisplayValue(@Nullable Language language) Value displayed in tops etc.getValue()Current value.
- 
Method Details- 
getValueT getValue()Current value.
- 
getDisplayValueValue displayed in tops etc.- Parameters:
- language- - message receiver.
 
- 
compareToComparison for tops.- Specified by:
- compareToin interface- Comparable<T>
- Parameters:
- o- the object to be compared.
 
 
-