Example #1
0
 // Events
 // ----------
 private static void clearEventDelegates()
 {
     if (OnGameEnded == null)
     {
         return;
     }
     foreach (Delegate d in OnGameEnded.GetInvocationList())
     {
         OnGameEnded -= (EventHandler <GameEndEventArgs>)d;
     }
 }