jin.ai = jin.ai or {} local statemachine = {} jin.ai.newStateMachine = function() end