Class AgressionTracker
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class AgressionTracker : AIModule
- Inheritance
-
AgressionTracker
- Inherited Members
-
Constructors
AgressionTracker(ArtificialIntelligence, float, float)
public AgressionTracker(ArtificialIntelligence AI, float angerSpeedUp, float angerSpeedDown)
Parameters
AI ArtificialIntelligence
angerSpeedUp float
angerSpeedDown float
Fields
angerSpeedDown
public float angerSpeedDown
Field Value
- float
angerSpeedUp
public float angerSpeedUp
Field Value
- float
creatures
public List<AgressionTracker.AngerRelationship> creatures
Field Value
- List<AgressionTracker.AngerRelationship>
highestAgressionTarget
public AgressionTracker.AngerRelationship highestAgressionTarget
Field Value
- AgressionTracker.AngerRelationship
highestAnger
public float highestAnger
Field Value
- float
Properties
TotalTrackedCreatures
public int TotalTrackedCreatures { get; }
Property Value
- int
Methods
AddCreature(CreatureRepresentation, float, float)
public void AddCreature(Tracker.CreatureRepresentation newCrit, float initialAnger, float baseAnger)
Parameters
newCrit Tracker.CreatureRepresentation
initialAnger float
baseAnger float
AgressionTarget()
public Tracker.CreatureRepresentation AgressionTarget()
Returns
- Tracker.CreatureRepresentation
ForgetCreature(AbstractCreature)
public void ForgetCreature(AbstractCreature removeCrit)
Parameters
removeCrit AbstractCreature
IncrementAnger(CreatureRepresentation, float)
public void IncrementAnger(Tracker.CreatureRepresentation crit, float angerAdd)
Parameters
crit Tracker.CreatureRepresentation
angerAdd float
SetAnger(CreatureRepresentation, float, float)
public void SetAnger(Tracker.CreatureRepresentation crit, float newAnger, float newBaseAnger)
Parameters
crit Tracker.CreatureRepresentation
newAnger float
newBaseAnger float
Update()
public override void Update()
Utility()
public override float Utility()
Returns
- float