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

Method UpdateSynchronous

trinity/Eve/Turret/EveTurretFiringFX.cpp:571–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569}
570
571bool EveTurretFiringFX::UpdateSynchronous( const EveUpdateContext& updateContext )
572{
573 // check all stretch effects and see if we have to start or stop them
574 for( unsigned int i = 0; i < m_stretch.size(); ++i )
575 {
576 if( m_perMuzzleData[i].elapsedTime < m_firingDuration || m_isLoopFiring )
577 {
578 auto stretchEffect = m_stretch[i];
579 stretchEffect->UpdateEffectSync( updateContext );
580 }
581 }
582 return true;
583}
584
585void EveTurretFiringFX::UpdateVisibility( const EveUpdateContext& updateContext )
586{

Callers 1

UpdateSyncronousMethod · 0.80

Calls 2

sizeMethod · 0.80
UpdateEffectSyncMethod · 0.45

Tested by

no test coverage detected