Barotrauma Client Doc
Barotrauma.MapCreatures.Behavior.GrowToTargetState Class Reference

Inherits Barotrauma.MapCreatures.Behavior.GrowIdleState.

Public Member Functions

 GrowToTargetState (BallastFloraBehavior behavior, BallastFloraBranch starter, Item target)
 
override void Enter ()
 
override ExitState GetState ()
 

Public Attributes

readonly List< BallastFloraBranchTargetBranches = new List<BallastFloraBranch>()
 
readonly Item Target
 

Protected Member Functions

override void Grow ()
 

Detailed Description

Definition at line 9 of file GrowToTargetState.cs.

Constructor & Destructor Documentation

◆ GrowToTargetState()

Barotrauma.MapCreatures.Behavior.GrowToTargetState.GrowToTargetState ( BallastFloraBehavior  behavior,
BallastFloraBranch  starter,
Item  target 
)

Definition at line 16 of file GrowToTargetState.cs.

Member Function Documentation

◆ Enter()

override void Barotrauma.MapCreatures.Behavior.GrowToTargetState.Enter ( )

◆ GetState()

override ExitState Barotrauma.MapCreatures.Behavior.GrowToTargetState.GetState ( )

◆ Grow()

override void Barotrauma.MapCreatures.Behavior.GrowToTargetState.Grow ( )
protected

Definition at line 27 of file GrowToTargetState.cs.

Member Data Documentation

◆ Target

readonly Item Barotrauma.MapCreatures.Behavior.GrowToTargetState.Target

Definition at line 12 of file GrowToTargetState.cs.

◆ TargetBranches

readonly List<BallastFloraBranch> Barotrauma.MapCreatures.Behavior.GrowToTargetState.TargetBranches = new List<BallastFloraBranch>()

Definition at line 11 of file GrowToTargetState.cs.