| 59 | } |
| 60 | |
| 61 | void Tr2ActionBindRTPC::Start( ITr2ActionController& controller ) |
| 62 | { |
| 63 | m_startTime = BeOS->GetCurrentFrameTime(); |
| 64 | controller.RegisterUpdateable( *this ); |
| 65 | |
| 66 | if( ITr2SoundEmitterOwnerPtr emitters = BlueCastPtr( controller.GetOwner() ) ) |
| 67 | { |
| 68 | if( auto emitter = emitters->FindSoundEmitter( m_emitterName.c_str() ) ) |
| 69 | { |
| 70 | m_emitter = emitter; |
| 71 | } |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | void Tr2ActionBindRTPC::StartWithController( ITr2ActionController* controller ) |
| 76 | { |
nothing calls this directly
no test coverage detected