Ejemplo n.º 1
0
 public void RemoveCallbacks(IProjectPlayingCallbacks callbacks)
 {
     lock (syncObject)
     {
         m_Clients.Remove(callbacks);
     }
 }
Ejemplo n.º 2
0
 public void AddCallbacks(IProjectPlayingCallbacks callbacks)
 {
     lock (syncObject)
     {
         m_Clients.Add(callbacks);
     }
 }
Ejemplo n.º 3
0
 public ModeElementPlayer(IModeElement modeElement, IProjectPlayingCallbacks callbacks, Action <StartElementPlayer> finishedAction, bool playMusicOnAllSpeakers)
     : base(modeElement.StartElement, finishedAction, playMusicOnAllSpeakers)
 {
     m_Mode      = modeElement;
     m_Callbacks = callbacks;
 }
Ejemplo n.º 4
0
 public static void RemoveCallbacks(IProjectPlayingCallbacks callbacks)
 {
     ProjectCallbacks.Instance.RemoveCallbacks(callbacks);
 }
Ejemplo n.º 5
0
 public static void AddCallbacks(IProjectPlayingCallbacks callbacks)
 {
     ProjectCallbacks.Instance.AddCallbacks(callbacks);
 }