Beispiel #1
0
 /// <summary>
 /// Removes a Component from this manager's list of all PointLightComponents.
 /// Overrides IManager's implementation.
 /// </summary>
 /// <param name="c"></param>
 public void UnregisterComponent(SoundComponent_cl c)
 {
     mSoundComponentsList.Remove((SoundComponent_cl)c);
 }
Beispiel #2
0
 /// <summary>
 /// Adds a Component to this manager's list of all SoundComponents.
 /// Overrides IManager's implementation.
 /// </summary>
 /// <param name="c">The Component to add.</param>
 public void RegisterComponent(SoundComponent_cl c)
 {
     mSoundComponentsList.Add((SoundComponent_cl)c);
 }