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

Method Link

trinity/Controllers/Tr2StateMachine.cpp:84–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void Tr2StateMachine::Link( Tr2Controller& controller )
85{
86 Unlink();
87
88 m_controller = &controller;
89 for( auto it = begin( m_states ); it != end( m_states ); ++it )
90 {
91 ( *it )->Link( *this );
92 }
93}
94
95void Tr2StateMachine::Unlink( UnlinkReason reason )
96{

Callers 2

OnListModifiedMethod · 0.45
OnModifiedMethod · 0.45

Calls 2

beginFunction · 0.50
endFunction · 0.50

Tested by

no test coverage detected