Table of Contents

Class YeekGraphics

Namespace
MoreSlugcats
Assembly
Assembly-CSharp.dll
public class YeekGraphics : GraphicsModule, IDrawable, ILookingAtCreatures
Inheritance
YeekGraphics
Implements
Inherited Members

Constructors

YeekGraphics(PhysicalObject)

public YeekGraphics(PhysicalObject ow)

Parameters

ow PhysicalObject

Fields

HeadfurColor

public Color HeadfurColor

Field Value

Color

beakColor

public Color beakColor

Field Value

Color

blackColor

public Color blackColor

Field Value

Color

blinkPercent

public float blinkPercent

Field Value

float

blinkStartCounter

public int blinkStartCounter

Field Value

int

bodyFeathers

public List<YeekGraphics.YeekFeather> bodyFeathers

Field Value

List<YeekGraphics.YeekFeather>

climbingFoot

public int climbingFoot

Field Value

int

climbingModeGraphicsClean

public bool climbingModeGraphicsClean

Field Value

bool

creatureLooker

public CreatureLooker creatureLooker

Field Value

CreatureLooker

darkness

public float darkness

Field Value

float

debugPos

public Vector2 debugPos

Field Value

Vector2

eyeColor

public Color eyeColor

Field Value

Color

eyeShudder

public float eyeShudder

Field Value

float

fearLookLoc

public Vector2 fearLookLoc

Field Value

Vector2

featherColor

public Color featherColor

Field Value

Color

flip

public float flip

Field Value

float

footBoundingBox

public Rect footBoundingBox

Field Value

Rect

furColor

public Color furColor

Field Value

Color

goodBodyClimbPos

public Vector2 goodBodyClimbPos

Field Value

Vector2

head

public GenericBodyPart head

Field Value

GenericBodyPart

lastDarkness

public float lastDarkness

Field Value

float

lastFlip

public float lastFlip

Field Value

float

leftFootClimbGoalPos

public Vector2 leftFootClimbGoalPos

Field Value

Vector2

leftFootClimbPos

public Vector2 leftFootClimbPos

Field Value

Vector2
public int moreBlinks

Field Value

int

plumageGraphic

public int plumageGraphic

Field Value

int

previousClimbingMode

public bool previousClimbingMode

Field Value

bool

previousTunnelMode

public bool previousTunnelMode

Field Value

bool

rightFootClimbGoalPos

public Vector2 rightFootClimbGoalPos

Field Value

Vector2

rightFootClimbPos

public Vector2 rightFootClimbPos

Field Value

Vector2

swimCounter

public float swimCounter

Field Value

float

tail

public GenericBodyPart tail

Field Value

GenericBodyPart

tailHighlightColor

public Color tailHighlightColor

Field Value

Color

trueEyeColor

public Color trueEyeColor

Field Value

Color

watchIntensity

public float watchIntensity

Field Value

float

Properties

BodyFeatherCount

public int BodyFeatherCount { get; }

Property Value

int

BodySpritesLength

public int BodySpritesLength { get; }

Property Value

int

BodySpritesStart

public int BodySpritesStart { get; }

Property Value

int

CanAdvanceClimb

public bool CanAdvanceClimb { get; }

Property Value

bool

DrawHeadInClimbingMode

public bool DrawHeadInClimbingMode { get; }

Property Value

bool

FeatherSpritesLength

public int FeatherSpritesLength { get; }

Property Value

int

FeatherSpritesStart

public int FeatherSpritesStart { get; }

Property Value

int

HeadSpritesLength

public int HeadSpritesLength { get; }

Property Value

int

HeadSpritesStart

public int HeadSpritesStart { get; }

Property Value

int

LegSpritesLength

public int LegSpritesLength { get; }

Property Value

int

LegSpritesStart

public int LegSpritesStart { get; }

Property Value

int

SecondTailLength

public int SecondTailLength { get; }

Property Value

int

SecondTailStart

public int SecondTailStart { get; }

Property Value

int

SpritesTotalLength

public int SpritesTotalLength { get; }

Property Value

int

TailGraphSegments

public int TailGraphSegments { get; }

Property Value

int

TotGraphSegments

public int TotGraphSegments { get; }

Property Value

int

myYeek

public Yeek myYeek { get; }

Property Value

Yeek

Methods

public override void AddToContainer(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, FContainer newContatiner)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
newContatiner FContainer

AdvanceClimb()

public void AdvanceClimb()

ApplyPalette(SpriteLeaser, RoomCamera, RoomPalette)

public override void ApplyPalette(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, RoomPalette palette)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
palette RoomPalette

ApplyPaletteLeg(SpriteLeaser, RoomCamera, RoomPalette, int)

public void ApplyPaletteLeg(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, RoomPalette palette, int startIndex)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
palette RoomPalette
startIndex int

ClampLegGoalsToBoundingRect()

public void ClampLegGoalsToBoundingRect()

CreateCosmeticAppearance()

public void CreateCosmeticAppearance()

CreatureInterestBonus(CreatureRepresentation, float)

public float CreatureInterestBonus(Tracker.CreatureRepresentation crit, float score)

Parameters

crit Tracker.CreatureRepresentation
score float

Returns

float

DrawLegs(SpriteLeaser, RoomCamera, float, Vector2, int, Vector2, bool, float)

public void DrawLegs(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, float timeStacker, Vector2 camPos, int startIndex, Vector2 hipPos, bool leftLeg, float orientationDir)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
timeStacker float
camPos Vector2
startIndex int
hipPos Vector2
leftLeg bool
orientationDir float

DrawSprites(SpriteLeaser, RoomCamera, float, Vector2)

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

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
timeStacker float
camPos Vector2

EyeShaker()

public float EyeShaker()

Returns

float

EyeShakerScale()

public float EyeShakerScale()

Returns

float

ForcedLookCreature()

public Tracker.CreatureRepresentation ForcedLookCreature()

Returns

Tracker.CreatureRepresentation

GraphSegmentPos(int, float, bool)

public Vector2 GraphSegmentPos(int i, float timeStacker, bool secondary)

Parameters

i int
timeStacker float
secondary bool

Returns

Vector2

GraphSegmentRad(int)

public float GraphSegmentRad(int i)

Parameters

i int

Returns

float

InitiateSprites(SpriteLeaser, RoomCamera)

public override void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera

InititateLeg(SpriteLeaser, RoomCamera, int)

public void InititateLeg(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, int startIndex)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
startIndex int

LookAtNothing()

public void LookAtNothing()

Update()

public override void Update()

UpdateFootBoundingBox(float, float, float, float)

public void UpdateFootBoundingBox(float left, float top, float bottom, float right)

Parameters

left float
top float
bottom float
right float

startClimbing(Vector2)

public void startClimbing(Vector2 Pos)

Parameters

Pos Vector2