Table of Contents

Class CosmeticInsect.CreatureAvoider

Namespace
Global
Assembly
Assembly-CSharp.dll
public class CosmeticInsect.CreatureAvoider
Inheritance
CosmeticInsect.CreatureAvoider
Inherited Members

Constructors

CreatureAvoider(CosmeticInsect, int, float, float)

public CreatureAvoider(CosmeticInsect owner, int updateRate, float visualRange, float minSize)

Parameters

owner CosmeticInsect
updateRate int
visualRange float
minSize float

Fields

currentWorstCrit

public Creature currentWorstCrit

Field Value

Creature

minSize

public float minSize

Field Value

float

owner

public CosmeticInsect owner

Field Value

CosmeticInsect

timer

public int timer

Field Value

int

updateRate

public int updateRate

Field Value

int

visualRange

public float visualRange

Field Value

float

Properties

FleeSpeed

public float FleeSpeed { get; }

Property Value

float

room

public Room room { get; }

Property Value

Room

Methods

Reset()

public void Reset()

ScaryScore(Creature)

public float ScaryScore(Creature testCrit)

Parameters

testCrit Creature

Returns

float

Update()

public void Update()