package jbrickbreaker.model;
import java.awt.Color;
import jbrickbreaker.model.bonuses.SmallerPadBonus;
/**
*
* @author Christophe
*
*/
public class Level0 extends Level {
public Level0(){
int posX = 0;
int posY = 50;
posX+=8*Brick.WIDTH;
bricks.add(new Brick(posX,posY));
posX+=4*Brick.WIDTH;
bricks.add(new Brick(posX,posY));
posY+=2*Brick.HEIGHT;
posX-=2*Brick.WIDTH;
bricks.add(new Brick(posX,posY,Color.GRAY, new SmallerPadBonus(posX, posY)));
posY+=2*Brick.HEIGHT;
posX-=2*Brick.WIDTH;
bricks.add(new Brick(posX,posY,Color.RED));
posX+=4*Brick.WIDTH;
bricks.add(new Brick(posX,posY,Color.RED));
posY+=1*Brick.HEIGHT;
posX-=3*Brick.WIDTH;
bricks.add(new Brick(posX,posY,Color.RED));
posX+=1*Brick.WIDTH;
bricks.add(new Brick(posX,posY,Color.RED));
posX+=1*Brick.WIDTH;
bricks.add(new Brick(posX,posY,Color.RED));
}
}