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

Method HandleControllerEvent

trinity/Eve/SpaceObject/EveSpaceObject2.cpp:3778–3792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3776}
3777
3778void EveSpaceObject2::HandleControllerEvent( const char* name )
3779{
3780 for( auto it = begin( m_controllers ); it != end( m_controllers ); ++it )
3781 {
3782 ( *it )->HandleEvent( name );
3783 }
3784 for( auto it = begin( m_effectChildren ); it != end( m_effectChildren ); ++it )
3785 {
3786 ( *it )->HandleControllerEvent( name );
3787 }
3788 for( auto it = begin( m_overlayEffects ); it != end( m_overlayEffects ); ++it )
3789 {
3790 ( *it )->HandleControllerEvent( name );
3791 }
3792}
3793
3794void EveSpaceObject2::StartControllers()
3795{

Callers

nothing calls this directly

Calls 3

beginFunction · 0.50
endFunction · 0.50
HandleEventMethod · 0.45

Tested by

no test coverage detected