mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 20:16:38 +09:00
Added some structor concepts
This commit is contained in:
@@ -87,8 +87,8 @@ end
|
||||
-- You may register multiple handlers for the same transition
|
||||
-- NOTICE: This function will invoke an error if called after init. Dynamic machine changes are currently unsupported
|
||||
-- @param self StateMachine the machine
|
||||
-- @param state number/string exiting state
|
||||
-- @param state number/string entering state
|
||||
-- @param old number/string exiting state
|
||||
-- @param new number/string entering state
|
||||
-- @param callback function
|
||||
function Module.register_transition_callback(self, old, new, callback)
|
||||
if _LIFECYCLE ~= control_stage then
|
||||
|
||||
Reference in New Issue
Block a user