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