Class Stat.Builder
- java.lang.Object
-
- com.rivet.api.resources.game.common.types.Stat.Builder
-
- All Implemented Interfaces:
Stat._FinalStage,Stat.ConfigStage,Stat.OverallValueStage
- Enclosing class:
- Stat
public static final class Stat.Builder extends java.lang.Object implements Stat.ConfigStage, Stat.OverallValueStage, Stat._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Statbuild()Stat.OverallValueStageconfig(StatConfig config)Stat.Builderfrom(Stat other)Stat._FinalStageoverallValue(double overallValue)A single overall value of the given statistic.
-
-
-
Method Detail
-
from
public Stat.Builder from(Stat other)
- Specified by:
fromin interfaceStat.ConfigStage
-
config
public Stat.OverallValueStage config(StatConfig config)
- Specified by:
configin interfaceStat.ConfigStage
-
overallValue
public Stat._FinalStage overallValue(double overallValue)
A single overall value of the given statistic.
- Specified by:
overallValuein interfaceStat.OverallValueStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public Stat build()
- Specified by:
buildin interfaceStat._FinalStage
-
-