Example #1
0
 protected override void LoadContent()
 {
     GestionSprites      = Game.Services.GetService(typeof(SpriteBatch)) as SpriteBatch;
     GestionnaireDeFonts = Game.Services.GetService(typeof(RessourcesManager <SpriteFont>)) as RessourcesManager <SpriteFont>;
     PoliceDeCaractères  = GestionnaireDeFonts.Find(NomFont);
     ModifierTexte(TexteÀAfficher);
 }
Example #2
0
 protected override void LoadContent()
 {
     gestionnaireDeTextures = Game.Services.GetService(typeof(RessourcesManager <Texture2D>)) as RessourcesManager <Texture2D>;
     textureTuile           = gestionnaireDeTextures.Find(NomTextureTuile);
     EffetDeBase            = new BasicEffect(GraphicsDevice);
     InitialiserParamètresEffetDeBase();
     base.LoadContent();
 }