Inheritance: Microsoft.Xna.Framework.GameComponent
Exemple #1
0
 public static void Initialize(Game game)
 {
     if (_contentWrapper == null && game != null)
     {
         _contentWrapper = new ContentWrapper(game);
         game.Components.Add(_contentWrapper);
     }
 }
 public static void Initialize(Game game)
 {
     if (_contentWrapper == null && game != null)
     {
         _contentWrapper = new ContentWrapper(game);
         game.Components.Add(_contentWrapper);
     }
 }