Exemplo n.º 1
0
        public void LoadContent(GraphicsDevice graphicsDevice)
        {
            //Set up Paddle
            PaddleTexture = new Texture2D(graphicsDevice, _paddleWidth, _paddleHeight);
            SetColor(Color.White);

            //Set up Boost 1
            _boost1.BoostTexture = new Texture2D(graphicsDevice, _boost1Width, _boost1Height);
            _boost1.SetColor(Color.Blue);

            //Set up Boost 2
            _boost2.BoostTexture = new Texture2D(graphicsDevice, _boost2Width, _boost2Height);
            _boost2.SetColor(Color.CornflowerBlue);
        }