SetMin sets the minimum statistics value in a certain id in a stat bag. SetMin also compares and computes the minimum statistics value of two different stat bags.
Parameters |
Description |
unsigned statId |
Identifier of the statistic value. |
Stat* pstat |
Pointer to Stat object holding the statistic value. |
const StatBag& other |
A different stat bag which is compared with the current one to obtain the minimum statistics value. |
A Boolean value of true if the minimum statistic value is set otherwise false.