Class EggBugAI
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class EggBugAI : ArtificialIntelligence, IUseARelationshipTracker, IAINoiseReaction
- Inheritance
-
EggBugAI
- Implements
-
- Inherited Members
-
Constructors
EggBugAI(AbstractCreature, World)
public EggBugAI(AbstractCreature creature, World world)
Parameters
creature AbstractCreature
world World
Fields
behavior
public EggBugAI.Behavior behavior
Field Value
- EggBugAI.Behavior
bug
Field Value
- EggBug
currentUtility
public float currentUtility
Field Value
- float
debugDestinationVisualizer
public DebugDestinationVisualizer debugDestinationVisualizer
Field Value
- DebugDestinationVisualizer
fear
Field Value
- float
focusCreature
public Tracker.CreatureRepresentation focusCreature
Field Value
- Tracker.CreatureRepresentation
idlePosCounter
public int idlePosCounter
Field Value
- int
noiseRectionDelay
public int noiseRectionDelay
Field Value
- int
tempIdlePos
public WorldCoordinate tempIdlePos
Field Value
- WorldCoordinate
walkWithBug
public WorldCoordinate? walkWithBug
Field Value
- WorldCoordinate?
Methods
AggressiveBehavior(CreatureRepresentation, float)
public void AggressiveBehavior(Tracker.CreatureRepresentation target, float spitChance)
Parameters
target Tracker.CreatureRepresentation
spitChance float
CollideWithKin(EggBug)
public void CollideWithKin(EggBug otherBug)
Parameters
otherBug EggBug
CreateTrackerRepresentationForCreature(AbstractCreature)
public override Tracker.CreatureRepresentation CreateTrackerRepresentationForCreature(AbstractCreature otherCreature)
Parameters
otherCreature AbstractCreature
Returns
- Tracker.CreatureRepresentation
CreatureSpotted(bool, CreatureRepresentation)
public override void CreatureSpotted(bool firstSpot, Tracker.CreatureRepresentation otherCreature)
Parameters
firstSpot bool
otherCreature Tracker.CreatureRepresentation
FallRisk(IntVector2)
public bool FallRisk(IntVector2 tile)
Parameters
tile IntVector2
Returns
- bool
IdleScore(WorldCoordinate)
public float IdleScore(WorldCoordinate coord)
Parameters
coord WorldCoordinate
Returns
- float
LethalBehavior(CreatureRepresentation)
public void LethalBehavior(Tracker.CreatureRepresentation target)
Parameters
target Tracker.CreatureRepresentation
ReactToNoise(TheorizedSource, InGameNoise)
public void ReactToNoise(NoiseTracker.TheorizedSource source, InGameNoise noise)
Parameters
source NoiseTracker.TheorizedSource
noise InGameNoise
TravelPreference(MovementConnection, PathCost)
public override PathCost TravelPreference(MovementConnection coord, PathCost cost)
Parameters
coord MovementConnection
cost PathCost
Returns
- PathCost
UnpleasantFallRisk(IntVector2)
public bool UnpleasantFallRisk(IntVector2 tile)
Parameters
tile IntVector2
Returns
- bool
Update()
public override void Update()
WantToStayInDenUntilEndOfCycle()
public override bool WantToStayInDenUntilEndOfCycle()
Returns
- bool