public Startview(ContentManager _content, Camera _camera, SpriteBatch _spritebatch, BallSimulation _ballsim, GraphicsDeviceManager _graphics)
        {
            content     = _content;
            camera      = _camera;
            spritebatch = _spritebatch;
            ballsim     = _ballsim;
            graphics    = _graphics;

            fieldsize  = camera.ReturnFieldsize();
            bordersize = camera.ReturnBorder();

            rect = new Rectangle(bordersize, bordersize, fieldsize, fieldsize);

            splittertexture  = content.Load <Texture2D>("spark");
            smoketexture     = content.Load <Texture2D>("smoke");
            explosiontexture = content.Load <Texture2D>("explosion");
            shockwavetexture = content.Load <Texture2D>("Shockwave");
            balltexture      = content.Load <Texture2D>("BALL");
            deadball         = content.Load <Texture2D>("Deadball");
            crosshair        = content.Load <Texture2D>("Crosshair");
            firesound        = content.Load <SoundEffect>("fire");
            ballcenter       = new Vector2(balltexture.Width / 2, balltexture.Height / 2);

            background = new Texture2D(graphics.GraphicsDevice, 1, 1);
            background.SetData(new Color[] { Color.Black });
        }
        public Startview(ContentManager _content, Camera _camera, SpriteBatch _spritebatch,BallSimulation _ballsim,GraphicsDeviceManager _graphics)
        {
            content = _content;
            camera = _camera;
            spritebatch = _spritebatch;
            ballsim = _ballsim;
            graphics = _graphics;

            fieldsize = camera.ReturnFieldsize();
            bordersize = camera.ReturnBorder();

            rect = new Rectangle(bordersize, bordersize, fieldsize, fieldsize);

            splittertexture = content.Load<Texture2D>("spark");
            smoketexture = content.Load<Texture2D>("smoke");
            explosiontexture = content.Load<Texture2D>("explosion");
            shockwavetexture = content.Load<Texture2D>("Shockwave");
            balltexture = content.Load<Texture2D>("BALL");
            deadball = content.Load<Texture2D>("Deadball");
            crosshair = content.Load<Texture2D>("Crosshair");
            firesound = content.Load<SoundEffect>("fire");
            ballcenter = new Vector2(balltexture.Width / 2, balltexture.Height / 2);

            background = new Texture2D(graphics.GraphicsDevice, 1, 1);
            background.SetData(new Color[] { Color.Black });
        }