/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); Globals.police = Content.Load <SpriteFont>("SpriteFont1"); wall = Content.Load <Texture2D>("wall"); b1.LoadContent(Content, ball); b2.LoadContent(Content, ball); j1.LoadContent(Content, bat1); j2.LoadContent(Content, bat2); foreach (Brique brique in briques) { brique.LoadContent(Content, brick, briques); } b1.Placement(j1); b2.Placement(j2); }