Beispiel #1
0
 public static void InvokeLoadContent()
 {
     try
     {
         LoadContent.Invoke();
     }
     catch (Exception ex)
     {
         Program.LogError("An exception occured in XNA LoadContent: " + ex.ToString());
     }
 }
Beispiel #2
0
 internal static void InvokeLoadContent()
 {
     try
     {
         LoadContent.Invoke(null, EventArgs.Empty);
     }
     catch (Exception ex)
     {
         Log.AsyncR("An exception occured in XNA LoadContent: " + ex);
     }
 }
Beispiel #3
0
 protected virtual void RaiseLoadContent(GraphicsDeviceEventArgs args)
 => LoadContent?.Invoke(this, args);