public void ClearBall() { for (int i = Balls.Count - 1; i >= 0; --i) { if (Balls[i].isNewGame) { Balls.RemoveAt(i); } } for (int i = BallsMore.Count - 1; i >= 0; --i) { if (BallsMore[i].isNewGame) { BallsMore.RemoveAt(i); } } }
public void AddBallMore(Ball ball) { BallsMore.Add(ball); }