Basics
Guides
API Reference
Basics
Guides
API Reference
[17:14] static extends: object
Helper for FXGL's SenseAIState enum (com.almasb.fxgl.ai.senseai.SenseAIState). Four values describing the entity's awareness:
CANNOT_BE_DISTURBED ()
CALM ()
ALERT ()
AGGRESSIVE ()
get (string Name)
Resolves a SenseAIState by name.
Name is one of "CANNOT_BE_DISTURBED", "CALM", "ALERT", "AGGRESSIVE".values ()
Returns SenseAIState[] containing every constant.
valueOf (string Name)
Standard Enum.valueOf strict lookup. Throws on unknown names.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.