Object containing the state of the AI type
Default parameters set
Called when entity is attacked by player
Called when entity is dead
entity that damaged this entity, or -1 if damage source is not an entity
Defines main logic of the AI type
Called when AI type execution ends
Called when AI type execution is paused
Called when AI type execution is resumed
Called when AI type execution starts
additional data passed from EntityAIClass.enableAI method
AI type's default name
AI type's default priority
Called when entity gets hurt
entity that damaged this entity, or -1 if damage source is not an entity
amount of damage
Called when a projectile hits the entity
projectile entity id
Generated using TypeDoc
Object used to register entity AI prototypes