/// <summary>
 /// LoadContent will be called once per game and is the place to load
 /// all of your content.
 /// </summary>
 protected override void LoadContent()
 {
     //TODO: use this.Content to load your game content here
     this.camera = new Camera (GraphicsDevice);
     this.ballView = new BallView (ballSimulation, Content, GraphicsDevice, camera);
     this.boxView = new BoxView (ballSimulation, Content, GraphicsDevice, camera);
 }
        public BallView(BallSimulation ballSimulation, ContentManager content, GraphicsDevice device, Camera camera)
        {
            // Create a new SpriteBatch, which can be used to draw textures.
            this.spriteBatch = new SpriteBatch (device);
            this.ballTexture = content.Load<Texture2D> ("ball.png");

            this.ballSimulation = ballSimulation;
            this.camera = camera;
        }