decrementStatistic

open fun decrementStatistic(statistic: Statistic<*>)

Decreases the value of the given statistic by 1.

Parameters

statistic

the statistic


abstract fun decrementStatistic(statistic: Statistic<*>, amount: Int)

Decreases the value of the given statistic by the given amount.

Parameters

statistic

the statistic

amount

the amount


open fun decrementStatistic(statistic: Key)

Decreases the value of the given custom statistic by 1.

Parameters

statistic

the statistic


open fun decrementStatistic(statistic: Key, amount: Int)

Decreases the value of the given custom statistic by the given amount.

Parameters

statistic

the statistic

amount

the amount