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

public class VerticBlock extends Block{
	//Overview: VerticBlock is a block that can not be destroyed  
	//if a Tank shoots at it.
	public VerticBlock(){
		super(false,3,Color.red);
	}
	public void drawImage(Graphics g, int x, int y, int w, int h){
		g.setColor(Color.blue);
		g.fillRect(x,y,w-1,h-1);
		g.setColor(getColor());
		g.fillRect(x+1,y+1,w/3-3,h-3);
		g.fillRect(x+w/3+w/3,y+1,w/3-2,h-2);
	}
}