Table of Contents

Class YeekAI

Namespace
MoreSlugcats
Assembly
Assembly-CSharp.dll
public class YeekAI : ArtificialIntelligence, IUseARelationshipTracker
Inheritance
YeekAI
Implements
Inherited Members

Constructors

YeekAI(AbstractCreature, World)

public YeekAI(AbstractCreature abstractCreature, World world)

Parameters

abstractCreature AbstractCreature
world World

Fields

CurrentIdlePos

public WorldCoordinate CurrentIdlePos

Field Value

WorldCoordinate

behavior

public YeekAI.Behavior behavior

Field Value

YeekAI.Behavior

fearCounter

public float fearCounter

Field Value

float

focusCreature

public Tracker.CreatureRepresentation focusCreature

Field Value

Tracker.CreatureRepresentation

fruitInRoom

public List<AbstractConsumable> fruitInRoom

Field Value

List<AbstractConsumable>

goalFruit

public AbstractConsumable goalFruit

Field Value

AbstractConsumable

idleBordomCountdown

public int idleBordomCountdown

Field Value

int

rescanRoom

public Room rescanRoom

Field Value

Room

roomInterest

public int roomInterest

Field Value

int

yeek

public Yeek yeek

Field Value

Yeek

yeekSquad

public List<AbstractCreature> yeekSquad

Field Value

List<AbstractCreature>

Methods

CancelWantToEat()

public void CancelWantToEat()

CreateTrackerRepresentationForCreature(AbstractCreature)

public override Tracker.CreatureRepresentation CreateTrackerRepresentationForCreature(AbstractCreature otherCreature)

Parameters

otherCreature AbstractCreature

Returns

Tracker.CreatureRepresentation

GetYeekSquadInRoom()

public List<AbstractCreature> GetYeekSquadInRoom()

Returns

List<AbstractCreature>

IdlePosScore(IntVector2)

public float IdlePosScore(IntVector2 pos)

Parameters

pos IntVector2

Returns

float

MakeCreatureLeaveRoom()

public void MakeCreatureLeaveRoom()

NewRoom(Room)

public override void NewRoom(Room room)

Parameters

room Room

ScanFruitInRoom(Room)

public void ScanFruitInRoom(Room room)

Parameters

room Room

SurprisedFearReaction(DynamicRelationship)

public CreatureTemplate.Relationship SurprisedFearReaction(RelationshipTracker.DynamicRelationship dRelation)

Parameters

dRelation RelationshipTracker.DynamicRelationship

Returns

CreatureTemplate.Relationship

TravelPreference(MovementConnection, PathCost)

public override PathCost TravelPreference(MovementConnection coord, PathCost cost)

Parameters

coord MovementConnection
cost PathCost

Returns

PathCost

Update()

public override void Update()

UpdateFruitInRoom()

public List<AbstractConsumable> UpdateFruitInRoom()

Returns

List<AbstractConsumable>

VisualScore(Vector2, float)

public override float VisualScore(Vector2 lookAtPoint, float targetSpeed)

Parameters

lookAtPoint Vector2
targetSpeed float

Returns

float

feelsAlone()

public bool feelsAlone()

Returns

bool

fruitIsValid(AbstractConsumable)

public bool fruitIsValid(AbstractConsumable fruit)

Parameters

fruit AbstractConsumable

Returns

bool

getNewIdlePos(int)

public void getNewIdlePos(int chances)

Parameters

chances int