All pastes #348368 Raw Edit

Xodus

public text v1 · immutable
·published 2007-02-10 03:16 UTC
rendered paste body
        protected override void Draw(GameTime gameTime)
        {
            graphics.GraphicsDevice.Clear(Color.CornflowerBlue);
            batch.Begin(SpriteBlendMode.AlphaBlend);
            batch.Draw(ballT, new Vector2(ball1.ballX, ball1.ballY), Color.White);
            batch.Draw(paddle, new Vector2(400, 0), Color.White);
            batch.Draw(paddle2, new Vector2(player1.playerPos, 500), Color.White);
            batch.End();
            
            // TODO: Add your drawing code here

            base.Draw(gameTime);
        }