Class NumberStatistic
java.lang.Object
de.ellpeck.rockbottom.api.entity.player.statistics.StatisticInitializer<NumberStatistic.Stat>
de.ellpeck.rockbottom.api.entity.player.statistics.NumberStatistic
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNumberStatistic(ResourceName name, ResourceName textureLocation) NumberStatistic(ResourceName name, ResourceName textureLocation, int defaultValue) -
Method Summary
Modifier and TypeMethodDescriptiongetDisplayComponents(IGameInstance game, NumberStatistic.Stat stat, AbstractStatGui gui, MenuComponent menu) makeStatistic(IStatistics statistics) Methods inherited from class de.ellpeck.rockbottom.api.entity.player.statistics.StatisticInitializer
getName, register
-
Field Details
-
defaultValue
protected final int defaultValue -
textureLocation
-
-
Constructor Details
-
NumberStatistic
-
NumberStatistic
-
-
Method Details
-
makeStatistic
- Specified by:
makeStatisticin classStatisticInitializer<NumberStatistic.Stat>
-
getDisplayComponents
public List<StatisticComponent> getDisplayComponents(IGameInstance game, NumberStatistic.Stat stat, AbstractStatGui gui, MenuComponent menu) - Specified by:
getDisplayComponentsin classStatisticInitializer<NumberStatistic.Stat>
-