Skip to main content

SimpleEnemyAI

Complete API reference for SimpleEnemyAI, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: AI

Component: yes


public class SimpleEnemyAI extends Component

Constructors

SignatureDescription
SimpleEnemyAI(SimpleEnemyAI)Executes SimpleEnemyAI and returns after the underlying engine call finishes.
SimpleEnemyAI(Engine)Executes SimpleEnemyAI and returns after the underlying engine call finishes.
SimpleEnemyAI()Creates a new instance of SimpleEnemyAI.

Attributes

NameTypeDescription
instanceSimpleEnemyAIRepresents the instance value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
attackDelayfloatget/setVirtual attribute exposed by getAttackDelay. Access it like a field to read or write the underlying value.
rayDistancefloatget/setVirtual attribute exposed by getRayDistance. Access it like a field to read or write the underlying value.
rayOffsetfloatget/setVirtual attribute exposed by getRayOffset. Access it like a field to read or write the underlying value.
runSpeedfloatget/setVirtual attribute exposed by getRunSpeed. Access it like a field to read or write the underlying value.
startAttackDistancefloatget/setVirtual attribute exposed by getStartAttackDistance. Access it like a field to read or write the underlying value.
stateStategetVirtual attribute exposed by getState. Access it like a field to read or write the underlying value.
stickBottombooleansetVirtual attribute exposed by setStickBottom. Access it like a field to read or write the underlying value.
stickBottomOffsetfloatget/setVirtual attribute exposed by getStickBottomOffset. Access it like a field to read or write the underlying value.
swapTargetDelayfloatget/setVirtual attribute exposed by getSwapTargetDelay. Access it like a field to read or write the underlying value.
swapTargetDistancefloatget/setVirtual attribute exposed by getSwapTargetDistance. Access it like a field to read or write the underlying value.
targetSpatialObjectget/setVirtual attribute exposed by getTarget. Access it like a field to read or write the underlying value.
walkSpeedfloatget/setVirtual attribute exposed by getWalkSpeed. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
isStickBottom()booleanReturns whether stick bottom is true.