public class ACMESmartphone
extends java.lang.Object
The ACME Smartphone can perform similar functions as other smartphones, such as making phone calls, sending text messages, and browsing the web. However, the ACME Smartphone also enables GPS tracking on roadrunners. You can monitor the location of all roadrunners within a 20 mile radius using the RoadRunner Tracker app.
Note that the RoadRunner Tracker app requires you to be connected to wifi. It will not work on cellular data.
Dynamite| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
LongLat
The coordinates where the nearest roadrunner is located.
|
| Constructor and Description |
|---|
ACMESmartphone(double model,
java.lang.String license)
Creates and initializes a new ACME_Smartphone with the appropriate model and license number.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
findRoadRunner(java.lang.String city,
java.lang.String state)
Gets the geocoordinates of roadrunners based on your city and state.
|
void |
zapRoadRunner(int voltage)
Zaps the roadrunner with the amount of deadly volts you specify.
|
public java.lang.String LongLat
public ACMESmartphone(double model,
java.lang.String license)
model - The model of the ACME Smartphone you are initializing.license - The license associated with your ACME Smartphone.public java.lang.String findRoadRunner(java.lang.String city,
java.lang.String state)
throws java.io.IOException
city - the city you want to browse for roadrunnersstate - the state you want to browse for roadrunnersjava.io.IOException - if you put integers instead of stringspublic void zapRoadRunner(int voltage)
throws java.io.IOException
Do not exceed more than 30 volts or the zap function will backfire.
For another way to kill a roadrunner, see the Dynamite.blowDynamiteLoudBang(int) method.
voltage - the number of volts you want to send into the roadrunner's bodyjava.io.IOException - if you do not enter an integer data type amount for the voltagefindRoadRunner(java.lang.String, java.lang.String),
and Dynamite#blowDynamiteSilentBang