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

public class GhostTank extends ComputerTank{
//Overview: A GhostTank is a ComputerTank that you can't see
//	except while it is shooting.
	//(int speed,int hp,Direction or,int pts, int xps, int iq)
	public GhostTank(){
		super(200,1,Direction.SOUTH,30,15,10);
	}
	public void drawImage(Graphics g, int x, int y, int w, int h){
		if(shooting){
			g.setColor(Color.black);
			g.fillOval(x+w/5,y+h/5,3*w/5,3*h/5);
			drawGun(g,x,y,w,h);
		}
	}
}