T - the type of the statistic valueC - the type of the componentpublic abstract class MapStatComponent<T,C extends MapStatComponent<T,C>> extends BaseStat<T>
MapStat.| Constructor and Description |
|---|
MapStatComponent() |
| Modifier and Type | Method and Description |
|---|---|
abstract C |
copy()
Narrow the return type to the component type.
|
protected String |
getFormattedValue()
Implement this overloading to use commas.
|
protected abstract String |
getFormattedValue(boolean useCommas)
Returns the value of the statistic as a formatted string, either using
or not using commas as requested.
|
protected abstract String getFormattedValue(boolean useCommas)
useCommas - whether to use commasprotected String getFormattedValue()
getFormattedValue in class BaseStat<T>Copyright © 2024. All rights reserved.