public static void LoadContent(ContentManager content, GraphicsDevice graphics) { blur = content.Load <Effect>("Shaders/Blur"); blur.Parameters["width"].SetValue((float)(Screen.ScreenSize.X / 2)); blur.Parameters["height"].SetValue((float)(Screen.ScreenSize.Y / 2)); portalMap = content.Load <Effect>("Shaders/PortalMap"); dottedLineCircleSprite = content.Load <Texture2D>("GameObjects/DottedLineCircle"); Player.LoadContent(content); Gravity.LoadContent(content); Finish.LoadContent(content); Star.LoadContent(content); Portal.LoadContent(content); TrailDrawer.LoadContent(content, graphics); PortalParticlesDrawer.LoadContent(content); GravityParticlesDrawer.LoadContent(content); ParticlesDrawer <PortalParticleVertexData> .LoadContent(graphics); ParticlesDrawer <GravityParticleVertexData> .LoadContent(graphics); }