protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); theMap = new BasicMap(); theMap2 = new BasicMap(); bob = new Bob(); bob.LoadContent(Content); Rectangle temp = bob.Pos; temp.X = 100; temp.Y = 270; temp.Width = 100; temp.Height = 150; bob.Pos = temp; bob.SetMap(theMap); //Cactus cactus = new Cactus(); cactus.LoadCac(Content); cactus.LoadLifes(Content); //Mapas theMap.LoadContent_Transitable(Content, "Transitable", 0, -1); theMap.LoadContent_Notransitable("NoTransitable", Content, 0, 420); theMap.SetIncrement(5); theMap2.LoadContent_Transitable(Content, "Transitable", 4080, -1); theMap2.LoadContent_Notransitable("NoTransitable", Content, 8972, 420); theMap2.SetIncrement(5); bob.setHeightLimits(graphics.GraphicsDevice.Viewport.Height); bob.setWidthLimits(graphics.GraphicsDevice.Viewport.Width); }