Table of Contents

Class TentaclePlant

Namespace
Global
Assembly
Assembly-CSharp.dll
public class TentaclePlant : Creature, PhysicalObject.IHaveAppendages
Inheritance
TentaclePlant
Implements
Inherited Members

Constructors

TentaclePlant(AbstractCreature, World)

public TentaclePlant(AbstractCreature abstractCreature, World world)

Parameters

abstractCreature AbstractCreature
world World

Fields

attack

public float attack

Field Value

float

attackDir

public Vector2 attackDir

Field Value

Vector2

canGrab

public float canGrab

Field Value

float

controlRegion

public InputCircularRegion controlRegion

Field Value

InputCircularRegion

extended

public float extended

Field Value

float

forceIntoShortCut

public float forceIntoShortCut

Field Value

float

idlePos

public Vector2 idlePos

Field Value

Vector2

rootPos

public Vector2 rootPos

Field Value

Vector2

rootRad

public float rootRad

Field Value

float

scratchPath

public List<IntVector2> scratchPath

Field Value

List<IntVector2>

shortCutPos

public IntVector2 shortCutPos

Field Value

IntVector2

soundLoop

public ChunkDynamicSoundLoop soundLoop

Field Value

ChunkDynamicSoundLoop

stickOutDir

public Vector2 stickOutDir

Field Value

Vector2

tentacle

public Tentacle tentacle

Field Value

Tentacle

tipRad

public float tipRad

Field Value

float

Properties

AI

public TentaclePlantAI AI { get; }

Property Value

TentaclePlantAI

VisionPoint

public override Vector2 VisionPoint { get; }

Property Value

Vector2

Methods

AppendagePosition(int, int)

public Vector2 AppendagePosition(int appendage, int segment)

Parameters

appendage int
segment int

Returns

Vector2

ApplyForceOnAppendage(Pos, Vector2)

public void ApplyForceOnAppendage(PhysicalObject.Appendage.Pos pos, Vector2 momentum)

Parameters

pos PhysicalObject.Appendage.Pos
momentum Vector2

Carry(bool)

public void Carry(bool eu)

Parameters

eu bool

Collide(PhysicalObject, int, int)

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

Parameters

otherObject PhysicalObject
myChunk int
otherChunk int

InitiateGraphicsModule()

public override void InitiateGraphicsModule()

NewRoom(Room)

public override void NewRoom(Room room)

Parameters

room Room

Rad(float)

public float Rad(float f)

Parameters

f float

Returns

float

Update(bool)

public override void Update(bool eu)

Parameters

eu bool

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

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

Parameters

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