MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / _play

Method _play

Engine/source/sfx/sfxSource.cpp:671–684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669//-----------------------------------------------------------------------------
670
671void SFXSource::_play()
672{
673 mPlayTimer.start();
674
675 // Resume playback of children that want to be in
676 // playing state.
677
678 for( iterator iter = begin(); iter != end(); ++ iter )
679 {
680 SFXSource* source = dynamic_cast< SFXSource* >( *iter );
681 if( source && source->mSavedStatus == SFXStatusPlaying )
682 source->play( source->mSavedFadeTime );
683 }
684}
685
686//-----------------------------------------------------------------------------
687

Callers

nothing calls this directly

Calls 4

beginFunction · 0.85
endFunction · 0.85
startMethod · 0.45
playMethod · 0.45

Tested by

no test coverage detected