Class Limb
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class Limb : BodyPart
- Inheritance
-
Limb
- Derived
-
- Inherited Members
-
Constructors
Limb(GraphicsModule, BodyChunk, int, float, float, float, float, float)
public Limb(GraphicsModule owner, BodyChunk connection, int num, float rad, float sfFric, float aFric, float defaultHuntSpeed, float defaultQuickness)
Parameters
owner GraphicsModule
connection BodyChunk
num int
rad float
sfFric float
aFric float
defaultHuntSpeed float
defaultQuickness float
Fields
absoluteHuntPos
public Vector2 absoluteHuntPos
Field Value
- Vector2
connection
public BodyChunk connection
Field Value
- BodyChunk
defaultHuntSpeed
public float defaultHuntSpeed
Field Value
- float
defaultQuickness
public float defaultQuickness
Field Value
- float
huntSpeed
Field Value
- float
limbNumber
Field Value
- int
pushOutOfTerrain
public bool pushOutOfTerrain
Field Value
- bool
quickness
Field Value
- float
reachedSnapPosition
public bool reachedSnapPosition
Field Value
- bool
relativeHuntPos
public Vector2 relativeHuntPos
Field Value
- Vector2
retract
Field Value
- bool
Properties
OverLappingHuntPos
public bool OverLappingHuntPos { get; }
Property Value
- bool
mode
public Limb.Mode mode { get; set; }
Property Value
- Limb.Mode
Methods
FindGrip(Room, Vector2, Vector2, float, Vector2, int, int, bool)
public void FindGrip(Room room, Vector2 attachedPos, Vector2 searchFromPos, float maximumRadiusFromAttachedPos, Vector2 goalPos, int forbiddenXDirs, int forbiddenYDirs, bool behindWalls)
Parameters
room Room
attachedPos Vector2
searchFromPos Vector2
maximumRadiusFromAttachedPos float
goalPos Vector2
forbiddenXDirs int
forbiddenYDirs int
behindWalls bool
GrabbedTerrain()
public virtual void GrabbedTerrain()
Reset(Vector2)
public override void Reset(Vector2 resetPoint)
Parameters
resetPoint Vector2
Update()
public override void Update()