protected override void Initialize() { this.graphics.IsFullScreen = false; this.graphics.ApplyChanges(); this.Window.Title = "Jeu"; // mainFrame = new Rectangle(0, 0, GraphicsDevice.Viewport.Width, GraphicsDevice.Viewport.Height); for (int i = 0; i <= 1; i++) { Mob[i] = new mob(); } for (int i = 0; i < maps.Length; i++) { maps[i] = new Map(); } Mob[0].moveMob(new Vector2(500, 250)); Mob[1].moveMob(new Vector2(600, 250)); perso.movePerso(new Vector2(150, 180)); base.Initialize(); }