Class Player.Tongue
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class Player.Tongue
- Inheritance
-
Player.Tongue
- Inherited Members
-
Constructors
Tongue(Player, int)
public Tongue(Player player, int tongueNum)
Parameters
player Player
tongueNum int
Fields
attachedChunk
public BodyChunk attachedChunk
Field Value
- BodyChunk
attachedTime
Field Value
- int
baseChunk
public BodyChunk baseChunk
Field Value
- BodyChunk
baseIdealRopeLength
public float baseIdealRopeLength
Field Value
- float
disableStick
Field Value
- bool
elastic
Field Value
- float
idealRopeLength
public float idealRopeLength
Field Value
- float
lastPos
Field Value
- Vector2
maxRopeLength
public float maxRopeLength
Field Value
- float
minRopeLength
public float minRopeLength
Field Value
- float
mode
public Player.Tongue.Mode mode
Field Value
- Player.Tongue.Mode
myMass
Field Value
- float
noSpearStickZones
public List<PlacedObject> noSpearStickZones
Field Value
- List<PlacedObject>
onRopePos
Field Value
- float
player
Field Value
- Player
pos
Field Value
- Vector2
requestedRopeLength
public float requestedRopeLength
Field Value
- float
returning
Field Value
- bool
rope
Field Value
- Rope
terrainStuckPos
public Vector2 terrainStuckPos
Field Value
- Vector2
tongueNum
Field Value
- int
vel
Field Value
- Vector2
Properties
Attached
public bool Attached { get; }
Property Value
- bool
AttachedPos
public Vector2 AttachedPos { get; }
Property Value
- Vector2
Free
public bool Free { get; }
Property Value
- bool
totalRope
public float totalRope { get; }
Property Value
- float
Methods
AttachToChunk(BodyChunk)
public void AttachToChunk(BodyChunk chunk)
Parameters
chunk BodyChunk
AttachToTerrain(Vector2)
public void AttachToTerrain(Vector2 attPos)
Parameters
attPos Vector2
Attatch()
AutoAim(Vector2)
public Vector2 AutoAim(Vector2 originalDir)
Parameters
originalDir Vector2
Returns
- Vector2
Elasticity()
GetTargetZeroGVelo(float, float)
public float GetTargetZeroGVelo(float baseV, float incV)
Parameters
baseV float
incV float
Returns
- float
NewRoom(Room)
public void NewRoom(Room newRoom)
Parameters
newRoom Room
Release()
RequestRope()
public float RequestRope()
Returns
- float
Shoot(Vector2)
public void Shoot(Vector2 dir)
Parameters
dir Vector2
Update()
WeightedRopeRequest()
public float WeightedRopeRequest()
Returns
- float
decreaseRopeLength(float)
public void decreaseRopeLength(float amount)
Parameters
amount float
increaseRopeLength(float)
public void increaseRopeLength(float amount)
Parameters
amount float
isZeroGMode()
public bool isZeroGMode()
Returns
- bool
resetRopeLength()
public void resetRopeLength()