示例#1
0
        public BallSimulation()
        {
            random = new Random();

            for (int i = 0; i < numberOfBalls; i++)
            {
                balls[i] = new Ball(random);
            }
        }
示例#2
0
 public BallSimulation()
 {
     ball = new Ball();
 }