All pastes #427806 Raw Edit

msousa

public text v1 · immutable
·published 2007-04-07 00:55 UTC
rendered paste body

       int CountBalls = 3;
                Ball ball;
                
                for (int i = 0; i < CountBalls; i++ )
                {
                    ball = new Ball();
                    ball.MVerticalSpeed = 3;
                    ball.SpriteT = content.Load<Texture2D>("soccer_ball") as Texture2D;
                    balz.Add(ball);
                }