public void add ( RayHandler rayHandler ) { this . rayHandler = rayHandler ; if ( active ) { rayHandler . lightList . add ( this ) ; } else { rayHandler . disabledLights . add ( this ) ; } }
Adds light to specified RayHandler