public class Dynamite
extends java.lang.Object
Try using the ACMESmartphone.zapRoadRunner(int) before
resorting to blowDynamiteLoudBang(int). However, if you do have a lot of
roadrunners, the zapRoadRunner method may not be
efficient enough. You'll probably just want to resort to
blowDynamiteLoudBang() to annihilate them all at once.
| Constructor and Description |
|---|
Dynamite() |
| Modifier and Type | Method and Description |
|---|---|
void |
blowDynamiteLoudBang(int fuseLength)
Blows dynamite with a decibel level approximating that of a fog horn.
|
void |
blowDynamiteSilentBang(int fuseLength)
Blows dynamite with almost no sound at all (equivalent to a silencer on a gun).
|
public void blowDynamiteLoudBang(int fuseLength)
fuseLength - the length of the fuse on the stick of dynamiteblowDynamiteSilentBang(int),
ACMESmartphone.zapRoadRunner(int)public void blowDynamiteSilentBang(int fuseLength)
fuseLength - the length of the fuse, which determines safety (silent bangs are just as deadly as loud bangs)blowDynamiteLoudBang(int),
ACMESmartphone.zapRoadRunner(int)