Table of Contents

Class TubeWorm

Namespace
Global
Assembly
Assembly-CSharp.dll
public class TubeWorm : Creature
Inheritance
TubeWorm
Inherited Members

Constructors

TubeWorm(AbstractCreature, World)

public TubeWorm(AbstractCreature abstractCreature, World world)

Parameters

abstractCreature AbstractCreature
world World

Fields

crawlSpeed

public float crawlSpeed

Field Value

float

goalOnRopePos

public float goalOnRopePos

Field Value

float

grappleToPos

public IntVector2? grappleToPos

Field Value

IntVector2?

grapplingCounter

public int grapplingCounter

Field Value

int

lastAccessibleCell

public PathFinder.PathingCell lastAccessibleCell

Field Value

PathFinder.PathingCell

lastGrabbed

public bool lastGrabbed

Field Value

bool

lastWalk

public float lastWalk

Field Value

float

lungs

public float lungs

Field Value

float

maxTotalRope

public float maxTotalRope

Field Value

float

nextGrapplePos

public IntVector2? nextGrapplePos

Field Value

IntVector2?

noSpearStickZones

public List<PlacedObject> noSpearStickZones

Field Value

List<PlacedObject>

onRopePos

public float onRopePos

Field Value

float

playerCheatAttachPos

public Vector2? playerCheatAttachPos

Field Value

Vector2?

shootTries

public int shootTries

Field Value

int

sleepCounter

public int sleepCounter

Field Value

int

sleeping

public bool sleeping

Field Value

bool

step

public int step

Field Value

int

tongues

public TubeWorm.Tongue[] tongues

Field Value

Tongue[]

triedMove

public int triedMove

Field Value

int

useBool

public bool useBool

Field Value

bool

walkCycle

public float walkCycle

Field Value

float

Properties

FreeRope

public float FreeRope { get; }

Property Value

float

RopeStretchFac

public float RopeStretchFac { get; }

Property Value

float

totalRope

public float totalRope { get; }

Property Value

float

Methods

Act()

public void Act()

Collide(PhysicalObject, int, int)

public override void Collide(PhysicalObject otherObject, int myChunk, int otherChunk)

Parameters

otherObject PhysicalObject
myChunk int
otherChunk int

ComparePathingCells(PathingCell, PathingCell)

public bool ComparePathingCells(PathFinder.PathingCell A, PathFinder.PathingCell B)

Parameters

A PathFinder.PathingCell
B PathFinder.PathingCell

Returns

bool

Die()

public override void Die()

FindAccessibleGrapplingPos()

public void FindAccessibleGrapplingPos()

FindInaccessibleGrapplingPos()

public void FindInaccessibleGrapplingPos()

FlopAlong()

public void FlopAlong()

GrabbedByPlayer()

public void GrabbedByPlayer()

GrappleToPosition()

public void GrappleToPosition()

HoldOnToObject()

public void HoldOnToObject()

InitiateGraphicsModule()

public override void InitiateGraphicsModule()

JumpButton(Player)

public bool JumpButton(Player plr)

Parameters

plr Player

Returns

bool

NewRoom(Room)

public override void NewRoom(Room newRoom)

Parameters

newRoom Room

RequestRope(int)

public float RequestRope(int tongue)

Parameters

tongue int

Returns

float

Sleep()

public void Sleep()

SpitOutOfShortCut(IntVector2, Room, bool)

public override void SpitOutOfShortCut(IntVector2 pos, Room newRoom, bool spitOutAllSticks)

Parameters

pos IntVector2
newRoom Room
spitOutAllSticks bool

Stun(int)

public override void Stun(int time)

Parameters

time int

TerrainImpact(int, IntVector2, float, bool)

public override void TerrainImpact(int chunk, IntVector2 direction, float speed, bool firstContact)

Parameters

chunk int
direction IntVector2
speed float
firstContact bool

Update(bool)

public override void Update(bool eu)

Parameters

eu bool

Use()

public void Use()

Violence(BodyChunk, Vector2?, BodyChunk, Pos, DamageType, float, float)

public override void Violence(BodyChunk source, Vector2? directionAndMomentum, BodyChunk hitChunk, PhysicalObject.Appendage.Pos onAppendagePos, Creature.DamageType type, float damage, float stunBonus)

Parameters

source BodyChunk
directionAndMomentum Vector2?
hitChunk BodyChunk
onAppendagePos PhysicalObject.Appendage.Pos
type Creature.DamageType
damage float
stunBonus float

WalkAlongRope()

public void WalkAlongRope()

WeightedRopeRequest(int)

public float WeightedRopeRequest(int tongue)

Parameters

tongue int

Returns

float