mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-26 07:34:35 +00:00
Mention varargs being passed into state callbacks
This commit is contained in:
parent
8be736d992
commit
af60cf26cf
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
a finite state machine implementation;
|
a finite state machine implementation;
|
||||||
each state is a table with optional enter, exit, update and draw callbacks
|
each state is a table with optional enter, exit, update and draw callbacks
|
||||||
which each optionally take the machine, and the state table as arguments
|
which each optionally take the machine, the state table, and varargs as arguments
|
||||||
|
|
||||||
on changing state, the outgoing state's exit callback is called, then the incoming state's
|
on changing state, the outgoing state's exit callback is called, then the incoming state's
|
||||||
enter callback is called.
|
enter callback is called.
|
||||||
|
Loading…
Reference in New Issue
Block a user