|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jbotrace.base.DriverInformation
Description: An instance of this class is given to each bot to inform it about the current situation.
Field Summary | |
SegmentInformation[] |
segmentInformations
|
static int |
SEGMENTS
|
Constructor Summary | |
DriverInformation(Race race,
Car car)
|
Method Summary | |
double |
carAhead()
|
double |
carLeft()
|
double |
carRight()
|
double |
toEnd()
|
double |
toLeft()
|
double |
toMiddle()
|
double |
toRight()
|
double |
velocity()
Returns the velocity of the car |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SEGMENTS
public SegmentInformation[] segmentInformations
Constructor Detail |
public DriverInformation(Race race, Car car)
Method Detail |
public double carAhead()
public double carLeft()
public double carRight()
public double toEnd()
public double toLeft()
public double toMiddle()
public double toRight()
public double velocity()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |