PassiveGoal
public final class PassiveGoal
Defines a passive goal that will be triggered when the specified condition is met which will repeat daily.
Summary
Public constructors |
|---|
PassiveGoal(Constructs a new |
Public methods |
|
|---|---|
boolean |
|
final @NonNull DataTypeCondition<@NonNull Number, @NonNull DeltaDataType<@NonNull Number, @NonNull ?>> |
|
int |
hashCode() |
@NonNull String |
toString() |
Public constructors
PassiveGoal
Added in 1.0.0
public PassiveGoal(
@NonNull DataTypeCondition<@NonNull Number, @NonNull DeltaDataType<@NonNull Number, @NonNull ?>> dataTypeCondition
)
Constructs a new PassiveGoal with the given dataTypeCondition. This goal will automatically repeat daily.
Public methods
getDataTypeCondition
Added in 1.0.0
public final @NonNull DataTypeCondition<@NonNull Number, @NonNull DeltaDataType<@NonNull Number, @NonNull ?>> getDataTypeCondition()
DataTypeCondition which must be met for the passive goal to be triggered.