3.0.0
New Additions
- Triggered transitions!
- Added new methods:
.add_transition()
,.add_wildcard_transition()
,.add_reflexive_transition()
,.transition_exists()
,.trigger()
. - Added new macros:
SNOWSTATE_WILDCARD_TRANSITION_NAME
,SNOWSTATE_REFLEXIVE_TRANSITION_NAME
.
Important Change(s)
.get_time()
and.set_time()
has the optional argumentseconds
set totrue
by default. This is parallel to GML'sget_timer()
.- Deprecated history methods have been removed.
Improvement(s)
- Events now accept arguments! Which means we can do:
fsm.event("This", "is", "cool!");
- Fixed an issue with
.inherit()
. - Added JSDoc to all the methods.
Note
Please refer to the Documentation for updated API.