import java.awt.Color;

class BombDebris extends Explosion
{
    BombDebris (int x, int y, int size)
    {
	super (x, y, size);
	color = Color.yellow;

	growScale = 0.20;
	shrinkScale = 0.20;
    }

    boolean collision (int x2, int y2, int range)
    {
	int distance = (int) Math.sqrt (((x2 - x) * (x2 - x))
					+ ((y2 - y) * (y2 - y)));
	range += currentSize ()/2;
	return distance <= range;
    }
}