Table of Contents

Class DeerGraphics

Namespace
Global
Assembly
Assembly-CSharp.dll
public class DeerGraphics : GraphicsModule, IDrawable, HasDanglers, ILookingAtCreatures
Inheritance
DeerGraphics
Implements
Inherited Members

Constructors

DeerGraphics(PhysicalObject)

public DeerGraphics(PhysicalObject ow)

Parameters

ow PhysicalObject

Fields

antlerRandomMovement

public float antlerRandomMovement

Field Value

float

antlerRandomMovementVel

public float antlerRandomMovementVel

Field Value

float

antlers

public DeerGraphics.Antlers antlers

Field Value

DeerGraphics.Antlers
public int blink

Field Value

int

bodyColor

public Color bodyColor

Field Value

Color

bodyDanglerOrientations

public float[,] bodyDanglerOrientations

Field Value

float[,]

bodyDanglerPositions

public int[,] bodyDanglerPositions

Field Value

int[,]

bodyDanglers

public int bodyDanglers

Field Value

int

chunksRotat

public float[] chunksRotat

Field Value

float[]

danglerVals

public Dangler.DanglerProps danglerVals

Field Value

Dangler.DanglerProps

danglers

public Dangler[] danglers

Field Value

Dangler[]

flip

public float flip

Field Value

float

fogCol

public Color fogCol

Field Value

Color

hornDanglerPositions

public int[,] hornDanglerPositions

Field Value

int[,]

hornDanglers

public int hornDanglers

Field Value

int

lastAntlerRandomMovement

public float lastAntlerRandomMovement

Field Value

float
public int lastBlink

Field Value

int

lastFlip

public float lastFlip

Field Value

float

lastResting

public float lastResting

Field Value

float

legGraphicAnchors

public static Vector2[,,] legGraphicAnchors

Field Value

Vector2[,,]

lookPoint

public Vector2[] lookPoint

Field Value

Vector2[]

looker

public CreatureLooker looker

Field Value

CreatureLooker

resting

public float resting

Field Value

float

Properties

AntlerSprite

public int AntlerSprite { get; }

Property Value

int

FirstAntlerSprite

public int FirstAntlerSprite { get; }

Property Value

int

FirstDanglerSprite

public int FirstDanglerSprite { get; }

Property Value

int

LastAntlerSprite

public int LastAntlerSprite { get; }

Property Value

int

LastDanglerSprite

public int LastDanglerSprite { get; }

Property Value

int

TotalSprites

public int TotalSprites { get; }

Property Value

int

deer

public Deer deer { get; }

Property Value

Deer

Methods

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

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
newContatiner FContainer

ApplyPalette(SpriteLeaser, RoomCamera, RoomPalette)

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

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
palette RoomPalette

BodySprite(int)

public int BodySprite(int chunk)

Parameters

chunk int

Returns

int

CreatureInterestBonus(CreatureRepresentation, float)

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

Parameters

crit Tracker.CreatureRepresentation
score float

Returns

float

CurrentFaceDir(float)

public float CurrentFaceDir(float timeStacker)

Parameters

timeStacker float

Returns

float

CurrentFoggedHornColor(float)

public Color CurrentFoggedHornColor(float timeStacker)

Parameters

timeStacker float

Returns

Color

DanglerConnection(int, float)

public Vector2 DanglerConnection(int index, float timeStacker)

Parameters

index int
timeStacker float

Returns

Vector2

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

EyeSprite(int, int)

public int EyeSprite(int eye, int part)

Parameters

eye int
part int

Returns

int

ForcedLookCreature()

public Tracker.CreatureRepresentation ForcedLookCreature()

Returns

Tracker.CreatureRepresentation

InitiateSprites(SpriteLeaser, RoomCamera)

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

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera

LegPartLength(int, int, bool)

public float LegPartLength(int pos, int part, bool includeExtension)

Parameters

pos int
part int
includeExtension bool

Returns

float

LegSprite(int, int)

public int LegSprite(int leg, int part)

Parameters

leg int
part int

Returns

int

LookAtNothing()

public void LookAtNothing()

Props(int)

public Dangler.DanglerProps Props(int index)

Parameters

index int

Returns

Dangler.DanglerProps

ReColorLegs(SpriteLeaser, RoomCamera, RoomPalette)

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

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
palette RoomPalette

Reset()

public override void Reset()

Update()

public override void Update()