Exemple #1
0
 protected override void LoadContent()
 {
     game = new Game(graphics.GraphicsDevice);
     ContentDistributor.loadContent(Content);
     SoundsManager.loadContent(Content);
     game.LoadContent(Content);
     spriteBatch = new SpriteBatch(GraphicsDevice);
 }
Exemple #2
0
 public void LoadContent(ContentManager content)
 {
     Compositer.LoadContent(content);
     player.loadContent();
     SoundsManager.setPlayer(player);
 }