What is the purpose of a 'finite state machine' (FSM) in 2D game AI?
-
A
Modeling entity behavior as a set of states with defined transitions between them
-
B
Limiting the number of active entities
-
C
A performance optimization for physics
-
D
A data compression algorithm