MCPcopy Create free account
hub / github.com/carbonengine/trinity / UpdateDestination

Method UpdateDestination

trinity/Controllers/Tr2StateMachineTransition.cpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void Tr2StateMachineTransition::UpdateDestination()
64{
65 m_destination = m_source->GetStateMachine()->GetStateByName( m_destinationName.c_str() );
66 if( !m_destination )
67 {
68 CCP_LOGERR( "Invalid destination state name %s for state machine transition", m_destinationName.c_str() );
69 }
70}
71
72bool Tr2StateMachineTransition::CanActivate( uint64_t variableDirtyMask ) const
73{

Callers

nothing calls this directly

Calls 2

GetStateByNameMethod · 0.80
GetStateMachineMethod · 0.80

Tested by

no test coverage detected