java.io.Serializablepublic class RobotSetup
extends java.lang.Object
implements java.io.Serializable
| Constructor | Description |
|---|---|
RobotSetup(java.lang.Double x,
java.lang.Double y,
java.lang.Double heading) |
Constructs a new RobotSetup.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Double |
getHeading() |
Returns the body, gun, and radar heading (in degrees).
|
java.lang.Double |
getX() |
Returns the x coordinate.
|
java.lang.Double |
getY() |
Returns the y coordinate.
|
public RobotSetup(java.lang.Double x,
java.lang.Double y,
java.lang.Double heading)
x - is the x coordinate, where null means random.y - is the y coordinate, where null means random.heading - is the heading in degrees of the body, gun, and radar, where null means random.public java.lang.Double getX()
null means unspecified (random).public java.lang.Double getY()
null means unspecified (random).public java.lang.Double getHeading()
null means unspecified (random).Copyright © 2018. All rights reserved.