Class Tentacle.TentacleChunk
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class Tentacle.TentacleChunk
- Inheritance
-
Tentacle.TentacleChunk
- Inherited Members
-
Constructors
TentacleChunk(Tentacle, int, float, float)
public TentacleChunk(Tentacle tentacle, int tentacleIndex, float tPos, float rad)
Parameters
tentacle Tentacle
tentacleIndex int
tPos float
rad float
Fields
afterPhaseStuckPos
public IntVector2 afterPhaseStuckPos
Field Value
- IntVector2
collideWithTerrain
public bool collideWithTerrain
Field Value
- bool
public IntVector2 contactPoint
Field Value
- IntVector2
currentSegmentTrail
public List<IntVector2> currentSegmentTrail
Field Value
- List<IntVector2>
dbSprites
public DebugSprite[] dbSprites
Field Value
- DebugSprite[]
public IntVector2 lastContactPoint
Field Value
- IntVector2
lastPos
Field Value
- Vector2
lockInPosition
public float lockInPosition
Field Value
- float
phase
Field Value
- float
phaseAttempts
Field Value
- int
phaseFrom
Field Value
- Vector2
phasesToSameLocation
public int phasesToSameLocation
Field Value
- int
pos
Field Value
- Vector2
rad
Field Value
- float
rope
Field Value
- Rope
stretchedFac
public float stretchedFac
Field Value
- float
tPos
Field Value
- float
tentacle
Field Value
- Tentacle
tentacleIndex
Field Value
- int
vel
Field Value
- Vector2
Properties
RopeActive
public bool RopeActive { get; }
Property Value
- bool
StuckPos
public IntVector2 StuckPos { get; }
Property Value
- IntVector2
StuckRect
public FloatRect StuckRect { get; }
Property Value
- FloatRect
currentSegment
public int currentSegment { get; }
Property Value
- int
stretchedRad
public float stretchedRad { get; }
Property Value
- float
tp
public Tentacle.TentacleProps tp { get; }
Property Value
- Tentacle.TentacleProps
Methods
CreateDebugSprites()
public void CreateDebugSprites()
PhaseToSegment()
public void PhaseToSegment()
Reset()
Update()
UpdateDebugSprites()
public void UpdateDebugSprites()