
| Public Member Functions | |
| def | __init__ | 
| def | execute | 
| def | on_enter | 
| Private Attributes | |
| _conditions | |
| _my_outcomes | |
Evaluates a condition function in order to return one of the specified outcomes.
This state can be used if the further control flow of the behavior depends on an advanced condition.
-- outcomes 	string[]	A list containing all possible outcomes of this state
-- conditions 	function	Implements the condition check and returns one of the available outcomes.
                                                        Has to expect one parameter which will be set to input_value.
># input_value	object		Input to the condition function.
Definition at line 13 of file decision_state.py.
| def flexbe_states.decision_state.DecisionState.__init__ | ( | self, | |
| outcomes, | |||
| conditions | |||
| ) | 
Constructor
Definition at line 27 of file decision_state.py.
| def flexbe_states.decision_state.DecisionState.execute | ( | self, | |
| userdata | |||
| ) | 
Execute this state
Definition at line 38 of file decision_state.py.
| def flexbe_states.decision_state.DecisionState.on_enter | ( | self, | |
| userdata | |||
| ) | 
Definition at line 54 of file decision_state.py.
Definition at line 29 of file decision_state.py.
Definition at line 29 of file decision_state.py.