接口 IReductionFunction
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
An
This allows sequential modification of damage reduction values to be stored and later invoked before actual reductions are applied to the damage sequence.
IReductionFunction
is used by DamageContainer
instances.This allows sequential modification of damage reduction values to be stored and later invoked before actual reductions are applied to the damage sequence.
-
方法概要
修饰符和类型方法说明float
modify
(DamageContainer container, float reductionIn) Consumes an existing reduction value and produces a modified value.
-
方法详细资料
-
modify
Consumes an existing reduction value and produces a modified value.- 参数:
container
- theDamageContainer
representing the damage sequence values for the reduction being modifiedreductionIn
- the initial or preceding reduction value to this operation- 返回:
- the new reduction value
-