Exemple #1
0
        public Ball(Level level)
        {
            this.Level = level;

            this.X = (Level.Width - Ball.Width) / 2;
            this.Y = (Level.Height - 3 * Paddle.Height);
        }
Exemple #2
0
        public Paddle(Level level)
        {
            this.Level = level;

            this.X = (Level.Width - Paddle.Width) / 2;
            this.Y = (Level.Height - 2 * Paddle.Height);
        }
Exemple #3
0
 public Brick(Level level, float x, float y)
 {
     this.Level = level;
     this.X = x;
     this.Y = y;
 }