(self, state)
Adds a state as a substate.
        Args:
            state (NestedState): State to add to the current state.
Adds a state as a substate.
        Args:
            state (NestedState): State to add to the current state.
Adds a state as a substate . Args : state ( NestedState ) : State to add to the current state .
def add_substate(self, state):
        """ Adds a state as a substate.
        Args:
            state (NestedState): State to add to the current state.
        """
        self.add_substates(state)
def add_substate ( self , state ) : self . add_substates ( state )