//Metod koj generira topcinja za dadenoto nivo public override void GenerateBalls() { Ball ball = new GreenBall(new Point((Width / 2) - 50, 100), Width, Height); AddBall(ball); ball = new GreenBall(new Point((Width / 2) + 50, 100), Width, Height); AddBall(ball); }
//Metod koj generira topcinja za dadenoto nivo public override void GenerateBalls() { Ball ball = new GreenBall(new Point(Width / 10, 2 * Height / 5), Width, Height); AddBall(ball); ball = new GreenBall(new Point((4 * Width) / 10, Height / 5), Width, Height); AddBall(ball); ball = new BlueBall(new Point((6 * Width) / 10, 3 * Height / 5), Width, Height); AddBall(ball); }
//Metod koj generira topcinja za dadenoto nivo public override void GenerateBalls() { Ball ball = new GreenBall(new Point(Width / 2, Height / 12), Width, Height); ball.InvertDirection(); AddBall(ball); ball = new BlueBall(new Point(Width / 2, Height / 12), Width, Height); AddBall(ball); ball = new GreenBall(new Point(Width / 2, Height / 12), Width, Height); AddBall(ball); ball = new BlueBall(new Point(Width / 2, Height / 12), Width, Height); ball.InvertDirection(); AddBall(ball); }
//Metod koj generira topcinja za dadenoto nivo public override void GenerateBalls() { Ball ball = new GreenBall(new Point((8 * Width) / 13, (2 * Height) / 12), Width, Height); AddBall(ball); ball = new BlueBall(new Point((8 * Width) / 13, (3 * Height) / 12), Width, Height); AddBall(ball); ball = new GreenBall(new Point((8 * Width) / 13, (4 * Height) / 12), Width, Height); AddBall(ball); ball = new BlueBall(new Point((8 * Width) / 13, (5 * Height) / 12), Width, Height); AddBall(ball); ball = new GreenBall(new Point((8 * Width) / 13, (6 * Height) / 12), Width, Height); AddBall(ball); ball = new RedBall(new Point((8 * Width) / 13, (7 * Height) / 12), Width, Height); AddBall(ball); }
//Metod koj generira topcinja za dadenoto nivo public override void GenerateBalls() { Ball ball = new GreenBall(new Point(2 * this.Width / 20, 2 * this.Width / 17), Width, Height); AddBall(ball); ball = new BlueBall(new Point(4 * this.Width / 20, 4 * this.Width / 17), Width, Height); AddBall(ball); ball = new GreenBall(new Point(6 * this.Width / 20, 2 * this.Width / 17), Width, Height); AddBall(ball); ball = new BlueBall(new Point(8 * this.Width / 20, 4 * this.Width / 17), Width, Height); AddBall(ball); ball = new GreenBall(new Point(10 * this.Width / 20, 2 * this.Width / 17), Width, Height); AddBall(ball); ball = new BlueBall(new Point(12 * this.Width / 20, 4 * this.Width / 17), Width, Height); AddBall(ball); ball = new GreenBall(new Point(14 * this.Width / 20, 2 * this.Width / 17), Width, Height); AddBall(ball); ball = new BlueBall(new Point(16 * this.Width / 20, 4 * this.Width / 17), Width, Height); AddBall(ball); ball = new GreenBall(new Point(18 * this.Width / 20, 2 * this.Width / 17), Width, Height); AddBall(ball); }