|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--CarContainer | +--LaneSection
Fields inherited from class CarContainer |
NOTHING_IN_FRONT |
Constructor Summary | |
LaneSection(int iD,
LaneModel parent,
int startX,
int startY,
int endX,
int endY)
|
Method Summary | |
int |
getParentID()
|
boolean |
isLastOne()
|
double[] |
isOKToGo(Car car,
double[] inFrontInfo,
double distToEnd)
|
CarContainer |
onToNext()
|
Methods inherited from class CarContainer |
addCar, anycollisions, drawAllCars, drawIDs, getCar, getdx, getdy, getendX, getendY, getGeneralDirection, getGradient, getID, getMidX, getMidY, getNextObInFront, getRadAngle, getSpeeds, getstartX, getstartY, hasCars, isFirstOne, kill, numStationaryCars, removeCar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LaneSection(int iD, LaneModel parent, int startX, int startY, int endX, int endY)
Method Detail |
public boolean isLastOne()
isLastOne
in class CarContainer
public CarContainer onToNext()
onToNext
in class CarContainer
public double[] isOKToGo(Car car, double[] inFrontInfo, double distToEnd)
isOKToGo
in class CarContainer
public int getParentID()
getParentID
in class CarContainer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |