incrementStatistic

open fun incrementStatistic(statistic: Statistic<*>)

Increases the value of the given statistic by 1.

Parameters

statistic

the statistic


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

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

Parameters

statistic

the statistic

amount

the amount


open fun incrementStatistic(statistic: Key)

Increases the value of the given custom statistic by 1.

Parameters

statistic

the statistic


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

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

Parameters

statistic

the statistic

amount

the amount