Table of Contents

Class NeedleWormGraphics

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

Constructors

NeedleWormGraphics(PhysicalObject)

public NeedleWormGraphics(PhysicalObject ow)

Parameters

ow PhysicalObject

Fields

blackCol

public Color blackCol

Field Value

Color

bodyColor

public Color bodyColor

Field Value

Color

cosBools

public bool[] cosBools

Field Value

bool[]

detailsColor

public Color detailsColor

Field Value

Color

eyeColor

public Color eyeColor

Field Value

Color

fangBlack

public float fangBlack

Field Value

float

fangOut

public float fangOut

Field Value

float

fatness

public float fatness

Field Value

float

flying

public float flying

Field Value

float

highLightColor

public Color highLightColor

Field Value

Color

hue

public float hue

Field Value

float

hueDiv

public float hueDiv

Field Value

float

lastFangOut

public float lastFangOut

Field Value

float

lastFlying

public float lastFlying

Field Value

float

lastWingFlap

public float lastWingFlap

Field Value

float

lastZrot

public Vector2 lastZrot

Field Value

Vector2

lastwhiplash

public float lastwhiplash

Field Value

float

legs

public GenericBodyPart[,] legs

Field Value

GenericBodyPart[,]

legsFac

public float legsFac

Field Value

float

lightness

public float lightness

Field Value

float

small

public bool small

Field Value

bool

snout

public GenericBodyPart[] snout

Field Value

GenericBodyPart[]

snoutLength

public float snoutLength

Field Value

float

soundLoop

public ChunkDynamicSoundLoop soundLoop

Field Value

ChunkDynamicSoundLoop

thinTail

public float thinTail

Field Value

float

totLegs

public int totLegs

Field Value

int

whiplash

public float whiplash

Field Value

float

wingFlap

public float wingFlap

Field Value

float

wings

public GenericBodyPart[,] wings

Field Value

GenericBodyPart[,]

wingsSize

public float wingsSize

Field Value

float

worm

public NeedleWorm worm

Field Value

NeedleWorm

zRot

public Vector2 zRot

Field Value

Vector2

Properties

BodyMesh

public int BodyMesh { get; }

Property Value

int

Eaten

public float Eaten { get; }

Property Value

float

FangMesh

public int FangMesh { get; }

Property Value

int

HighLightMesh

public int HighLightMesh { get; }

Property Value

int

HighLightSegments

public int HighLightSegments { get; }

Property Value

int

TotGraphSegments

public int TotGraphSegments { get; }

Property Value

int

TotalSprites

public int TotalSprites { get; }

Property Value

int

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

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

EatenGraphSegmentPos(int, float)

public Vector2 EatenGraphSegmentPos(int i, float timeStacker)

Parameters

i int
timeStacker float

Returns

Vector2

EyeSprite(int)

public int EyeSprite(int eye)

Parameters

eye int

Returns

int

GraphSegmentPos(int, float)

public Vector2 GraphSegmentPos(int i, float timeStacker)

Parameters

i int
timeStacker float

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

LegConBodyDir(int, int, float)

public Vector2 LegConBodyDir(int s, int i, float timeStacker)

Parameters

s int
i int
timeStacker float

Returns

Vector2

LegConDir(int, int, float)

public Vector2 LegConDir(int s, int i, float timeStacker)

Parameters

s int
i int
timeStacker float

Returns

Vector2

LegConPos(int, int, float)

public Vector2 LegConPos(int s, int i, float timeStacker)

Parameters

s int
i int
timeStacker float

Returns

Vector2

LegSprite(int, int)

public int LegSprite(int s, int i)

Parameters

s int
i int

Returns

int

LumpSprite(int, int)

public int LumpSprite(int side, int i)

Parameters

side int
i int

Returns

int

Reset()

public override void Reset()

Update()

public override void Update()

WhiplashGraphSegmentPos(int, float)

public Vector2 WhiplashGraphSegmentPos(int i, float timeStacker)

Parameters

i int
timeStacker float

Returns

Vector2

WingSprite(int, int)

public int WingSprite(int s, int i)

Parameters

s int
i int

Returns

int