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

Method Start

trinity/Controllers/Tr2StateMachine.cpp:153–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void Tr2StateMachine::Start()
154{
155 if( m_currentState || !m_controller )
156 {
157 return;
158 }
159
160 m_currentState = m_startState;
161 m_startTime = m_stateStartTime = BeOS->GetCurrentFrameTime();
162 if( !m_currentState )
163 {
164 return;
165 }
166 m_currentState->Start();
167 FollowTransitions( 0xffffffffffffffffull );
168}
169
170void Tr2StateMachine::Stop()
171{

Callers 2

OnListModifiedMethod · 0.45
FollowTransitionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected