One entry for the AggroMgr
.
More...
#include <Entry.h>
|
| Entry (const CharacterId &id, float aggro=0.0f) |
|
| Entry (const Entry &other) |
|
| Entry (Entry &&other) |
|
float | getAggro () const |
|
void | addAggro (float aggro) |
|
void | setReduceByRatio (float reductionRatioPerSecond, float minimumAggro) |
|
void | setReduceByValue (float reductionValuePerSecond) |
|
bool | reduceByTime (int64_t millis) |
|
void | resetAggro () |
|
const CharacterId & | getCharacterId () const |
|
bool | operator< (Entry &other) const |
|
Entry & | operator= (const Entry &other) |
|
|
void | reduceByRatio (float ratio) |
|
void | reduceByValue (float value) |
|
|
float | _aggro |
|
float | _minAggro |
|
float | _reduceRatioSecond |
|
float | _reduceValueSecond |
|
ReductionType | _reduceType |
|
CharacterId | _id |
|
One entry for the AggroMgr
.
bool ai::Entry::reduceByTime |
( |
int64_t |
millis | ) |
|
|
inline |
- Returns
true
if any reduction was done
The documentation for this class was generated from the following file:
- /home/travis/build/mgerhardy/simpleai/src/ai/aggro/Entry.h