class Robot extends Competitor 
{	public Robot(String nm)
	{	super(nm);
	}

	public void fight(Competitor other)
	{	if (this.getHealth() > 0 && other.getHealth() > 0)
		{	System.out.println(this.getName() + " crushes " + other.getName() + " with his invincible robot arms!");
			int blow = gen.nextInt(this.getHealth());
			other.decHealth(blow);
}	}	}