3 ms·
Games usually have state machines as well, but you can't have a single state machine for the whole world. So it ends up being a state machine per actor, usually
by int_19h 7y ago
Games usually have state machines as well, but you can't have a single state machine for the whole world. So it ends up being a state machine per actor, usually - and every actor can potentially interact with most other actors.