Table of Contents

Class KingTusks

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

Constructors

KingTusks(Vulture)

public KingTusks(Vulture vulture)

Parameters

vulture Vulture

Fields

eyesHomeIn

public float eyesHomeIn

Field Value

float

eyesOut

public float eyesOut

Field Value

float

eyesOutCycle

public float eyesOutCycle

Field Value

float

headRot

public float headRot

Field Value

float

lastEyesHome

public float lastEyesHome

Field Value

float

lastEyesOut

public float lastEyesOut

Field Value

float

lastHeadRot

public float lastHeadRot

Field Value

float

lastPreyPos

public Vector2 lastPreyPos

Field Value

Vector2

noShootDelay

public int noShootDelay

Field Value

int

patternDisplace

public float patternDisplace

Field Value

float

preyPos

public Vector2 preyPos

Field Value

Vector2

preyVelEstimate

public Vector2 preyVelEstimate

Field Value

Vector2

smoke

public NewVultureSmoke smoke

Field Value

NewVultureSmoke

targetRep

public Tracker.CreatureRepresentation targetRep

Field Value

Tracker.CreatureRepresentation

targetTrail

public Vector2[] targetTrail

Field Value

Vector2[]

tusks

public KingTusks.Tusk[] tusks

Field Value

Tusk[]

vulture

public Vulture vulture

Field Value

Vulture

Properties

AnyCreatureImpaled

public bool AnyCreatureImpaled { get; }

Property Value

bool

CloseQuarters

public bool CloseQuarters { get; }

Property Value

bool

HeadRotVector

public Vector2 HeadRotVector { get; }

Property Value

Vector2

ReadyToShoot

public bool ReadyToShoot { get; }

Property Value

bool

Methods

public void AddToContainer(VultureGraphics vGraphics, int sprite, RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, FContainer newContatiner)

Parameters

vGraphics VultureGraphics
sprite int
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
newContatiner FContainer

ApplyPalette(VultureGraphics, RoomPalette, Color, SpriteLeaser, RoomCamera)

public void ApplyPalette(VultureGraphics vGraphics, RoomPalette palette, Color armorColor, RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)

Parameters

vGraphics VultureGraphics
palette RoomPalette
armorColor Color
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera

DoIWantToHoldCreature(Creature)

public bool DoIWantToHoldCreature(Creature creature)

Parameters

creature Creature

Returns

bool

DrawSprites(VultureGraphics, SpriteLeaser, RoomCamera, float, Vector2)

public void DrawSprites(VultureGraphics vGraphics, RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, float timeStacker, Vector2 camPos)

Parameters

vGraphics VultureGraphics
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
timeStacker float
camPos Vector2

GoodShootAngle(int, bool)

public float GoodShootAngle(int tusk, bool checkMinDistance)

Parameters

tusk int
checkMinDistance bool

Returns

float

HitBySpear(Vector2)

public bool HitBySpear(Vector2 directionAndMomentum)

Parameters

directionAndMomentum Vector2

Returns

bool

InitiateSprites(VultureGraphics, SpriteLeaser, RoomCamera)

public void InitiateSprites(VultureGraphics vGraphics, RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)

Parameters

vGraphics VultureGraphics
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera

NewRoom(Room)

public void NewRoom(Room newRoom)

Parameters

newRoom Room

ThisCreatureImpaled(AbstractCreature)

public bool ThisCreatureImpaled(AbstractCreature crit)

Parameters

crit AbstractCreature

Returns

bool

TryToShoot()

public void TryToShoot()

Update()

public void Update()

VisualOnAnyTargetChunk()

public bool VisualOnAnyTargetChunk()

Returns

bool

WantToShoot(bool, bool)

public bool WantToShoot(bool checkVisualOnAnyTargetChunk, bool checkMinDistance)

Parameters

checkVisualOnAnyTargetChunk bool
checkMinDistance bool

Returns

bool