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