A State node for Hierarchical State Machine (HSM). Called when state is entered. Called when state is exited. Called once during intialization. Called during update. Register [code]p_method[/code] that will be called when [code]p_event[/code] happens. Method must belong to the state. A chained method that connects [signal entered] signal to a [code]p_method[/code] on a [p_object]. A chained method that connects [signal exited] signal to a [code]p_method[/code] on a [p_object]. A chained method that connects [signal updated] signal to a [code]p_method[/code] on a [p_object]. Removes the guard function that was set by [method set_guard_func]. Dispatches recursively a state machine event named [code]p_event[/code] with an optional argument [code]p_cargo[/code]. Returns [code]true[/code] if event was consumed. Events propagate from the leaf state to the root. Propagation stops as soon as some state consumes the event. Returns the root [LimboState]. Returns [code]true[/code] if it is currently active, i.e. it is the active substate of the parent [LimboHSM]. A chained method that sets the name of this state. Sets the guard function. It is a function that will be called each time a transition to this state should happen. If that function returns [code]false[/code], that transition will not be allowed. A commonly used event that signifies that the state has finished work. An agent that is associated with the state. Assinged by initialization. A key/value data store shared by states of the state machine this state belongs to. Emitted when the state is entered. Emitted when the state is exited. Emitted when the state is initialized. Emitted when the state is updated.