| 244 | } |
| 245 | |
| 246 | Tr2StateMachineState* Tr2StateMachineState::GetNextState() const |
| 247 | { |
| 248 | for( auto it = begin( m_transitions ); it != end( m_transitions ); ++it ) |
| 249 | { |
| 250 | if( ( *it )->CanActivate( 0xffffffffffffffffull ) && ( *it )->GetDestination() ) |
| 251 | { |
| 252 | return ( *it )->GetDestination(); |
| 253 | } |
| 254 | } |
| 255 | return nullptr; |
| 256 | } |
| 257 | |
| 258 | const Tr2StateMachine* Tr2StateMachineState::GetStateMachine() const |
| 259 | { |
nothing calls this directly
no test coverage detected