public MasterController()
        {
            graphics = new GraphicsDeviceManager (this);
            Content.RootDirectory = "Content";
            graphics.IsFullScreen = false;

            this.ballSimulation = new Model.BallSimulation ();
        }
예제 #2
0
        public BallView(ContentManager content, Model.BallSimulation ballSimulation, View.Camera camera)
        {
            this.ballTexture = content.Load<Texture2D> ("Texture/bubble.png");
            this.rainbowTexture = content.Load<Texture2D> ("Texture/rainbow.png");
            this.burstSpriteSheet = content.Load<Texture2D> ("Texture/burst.png");
            this.bubblePop = content.Load<SoundEffect>("Sound/bubblepop.wav");

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