|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrobocode.control.RobotSetup
public class RobotSetup
Contains the initial position and heading for a robot.
| Constructor Summary | |
|---|---|
RobotSetup(Double x,
Double y,
Double heading)
Constructs a new RobotSetup. |
|
| Method Summary | |
|---|---|
Double |
getHeading()
Returns the body, gun, and radar heading (in degrees). |
Double |
getX()
Returns the x coordinate. |
Double |
getY()
Returns the y coordinate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RobotSetup(Double x,
Double y,
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.| Method Detail |
|---|
public Double getX()
null means unspecified (random).public Double getY()
null means unspecified (random).public Double getHeading()
null means unspecified (random).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||