Pular para o conteúdo principal

Class: SimpleEnemyAI

This page documents the methods and fields available in the SimpleEnemyAI class.

Members

SignatureDescription
SimpleEnemyAI()Creates a new instance of SimpleEnemyAI.
getAttackDelay()Returns the current attack delay.
getRayDistance()Returns the current ray distance.
getRayOffset()Returns the current ray offset.
getRunSpeed()Returns the current run speed.
getStartAttackDistance()Returns the current start attack distance.
getState()Returns the current state.
getStickBottomOffset()Returns the current stick bottom offset.
getSwapTargetDelay()Returns the current swap target delay.
getSwapTargetDistance()Returns the current swap target distance.
getTarget()Returns the current target.
getWalkSpeed()Returns the current walk speed.
isStickBottom()Returns whether stick bottom is true.
setAttackDelay(float)Sets or updates the attack delay.
setRayDistance(float)Sets or updates the ray distance.
setRayOffset(float)Sets or updates the ray offset.
setRunSpeed(float)Sets or updates the run speed.
setStartAttackDistance(float)Sets or updates the start attack distance.
setStickBottom(boolean)Sets or updates the stick bottom.
setStickBottomOffset(float)Sets or updates the stick bottom offset.
setSwapTargetDelay(float)Sets or updates the swap target delay.
setSwapTargetDistance(float)Sets or updates the swap target distance.
setTarget(SpatialObject)Sets or updates the target.
setWalkSpeed(float)Sets or updates the walk speed.