import java.awt.Color;
import java.awt.Graphics;

public class Brick extends Block{
	public Brick(){
		super(true,3,Color.red);
	}
	public void drawImage(Graphics g, int x, int y, int w, int h){
		g.setColor(Color.black);
		g.fillRect(x,y,w-1,h-1);
		g.setColor(getColor());
		g.fillRect(x+1,y+1,w/2-2,h/2-2);
		g.fillRect(x+w/2,y+h/2,w/2-2,h/2-2);
	}
}