- background = Content.Load<Texture2D>("background");\r
- spotLight = Content.Load<Texture2D>("spotlight");\r
- cs = Content.Load<Texture2D>("cs");\r
- backgroundPos = new Vector2(0f, 0f);\r
- spotLightPos = new Vector2(100f, graphics.GraphicsDevice.Viewport.Height - 98);\r
- spotLightCenter = new Vector2(800f, 800f);\r
- spotLightVelocity = new Vector2(-100, 33);\r
- csPos = new Vector2(10f, graphics.GraphicsDevice.Viewport.Height - 98);\r
- \r
- zero = new Vector2(0, 0);\r
-\r
- MaxX = graphics.GraphicsDevice.Viewport.Width;\r
- MinX = 0;\r
- MaxY = graphics.GraphicsDevice.Viewport.Height;\r
- MinY = 100;\r
- // TODO: use this.Content to load your game content here\r