Esempio n. 1
0
 protected override void LoadContent()
 {
     this.spriteBatch = new SpriteBatch(device);
     Textures.LoadTextures(Content, device);
     Sounds.LoadSounds(Content);
     LevelSaver.Screenshot = new RenderTarget2D(GraphicsDevice, 800, 600, false, SurfaceFormat.Color, DepthFormat.Depth24);
 }