Example #1
0
 public static void Load(ContentManager Content)
 {
     defaultFont = Content.Load <SpriteFont>("Default");
     gEffects    = new Effect[]
     {
         Content.Load <Effect>("Diffuse"),
         Content.Load <Effect>("Phong"),
         Content.Load <Effect>("Island"),
         Content.Load <Effect>("NoLighting"),
         Content.Load <Effect>("Lightmap")
     };
     PBullet.Initialize(Content);
     Sounds.Load(Content);
     Menus.Load(Content);
     Island.Load(Content);
     for (int i = 0; i < gResources.Length; i++)
     {
         gResources[i].Load(Content);
     }
     for (int i = 0; i < sResources.Length; i++)
     {
         sResources[i].Load(Content);
     }
     isLoaded = true;
 }
Example #2
0
 public Profile()
 {
     autoCommence = new AutoCommence();
     pBullet      = new PBullet();
 }