Exemplo n.º 1
0
        //List<ExplosionView> explosions = new List<ExplosionView>();
        //List<SmokeSystem> smokes = new List<SmokeSystem>();
        public GameView(GraphicsDeviceManager graphics, BallSimulation BallSimulation, ContentManager Content, Camera camera)
        {
            LoadSprites(Content, graphics);
            _camera = camera;
            _ballSimulation = BallSimulation;

            int screenSize = _camera.getSizeOfField();
            _rect = new Rectangle(_camera.bordersize, _camera.bordersize, screenSize, screenSize);
        }