def set_starting_state(self, state):
        ''' The entry state for the state machine. '''
        state.enter()
        self.state = state
 The entry state for the state machine. 
recipes/Python/578656_State_Machine_Framework_AI/recipe-578656.py