protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.CornflowerBlue); // TODO: Add your drawing code here // to get landscape viewable camera.Draw(landscape); base.Draw(gameTime); }
protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.CornflowerBlue); SpriteBatch.Begin(); foreach (var component in levelDrawComponenents) { _camera.Draw(component, gameTime); } SpriteBatch.End(); }