Exemplo n.º 1
0
 public void connectSpotLight(SpotLight a_spotlight)
 {
     if (!a_spotlight.isDead() && !m_connectedSpotLights.Contains(a_spotlight))
     {
         m_connectedSpotLights.AddLast(a_spotlight);
         m_connectedSpotLightsId.AddLast(a_spotlight.getId());
     }
 }
Exemplo n.º 2
0
 public void disconnectSpotLight(SpotLight a_spotlight)
 {
     m_connectedSpotLights.Remove(a_spotlight);
     m_connectedSpotLightsId.Remove(a_spotlight.getId());
 }