38 return super.shoot() * 2;
The SuperGun can produce a boosted shot, such that the shot produces two times power than the origina...
int shoot()
Shoots the gun.
void boost()
Boosts the gun for the next attack.
SuperGun(String name, int power)
Constructs a new SuperGun with the specified name and power level.
The Weapon class represents any game weapon with a name and power level.