| 37 | } |
| 38 | |
| 39 | void Tr2StateMachineTransition::Link( const Tr2StateMachineState& state ) |
| 40 | { |
| 41 | Unlink(); |
| 42 | |
| 43 | m_source = &state; |
| 44 | if( m_source->GetStateMachine() ) |
| 45 | { |
| 46 | UpdateDestination(); |
| 47 | } |
| 48 | m_evaluator.SetExpr( m_condition.c_str(), *m_source->GetStateMachine() ); |
| 49 | } |
| 50 | |
| 51 | void Tr2StateMachineTransition::Unlink() |
| 52 | { |
nothing calls this directly
no test coverage detected