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
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
Field Value
- bool
lastWalk
Field Value
- 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
Field Value
- float
playerCheatAttachPos
public Vector2? playerCheatAttachPos
Field Value
- Vector2?
shootTries
Field Value
- int
sleepCounter
Field Value
- int
sleeping
Field Value
- bool
step
Field Value
- int
tongues
public TubeWorm.Tongue[] tongues
Field Value
- Tongue[]
triedMove
Field Value
- int
useBool
Field Value
- bool
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()
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()
GrabbedByPlayer()
public void GrabbedByPlayer()
GrappleToPosition()
public void GrappleToPosition()
HoldOnToObject()
public void HoldOnToObject()
InitiateGraphicsModule()
public override void InitiateGraphicsModule()
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()
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()
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