interface TrafCODObject
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g2)
Draw yourself at the indicated location/
|
String |
toolTipHit(int testX,
int testY)
Check if the given coordinates hit the TrafCODObject.
|
void draw(Graphics2D g2)
g2 - Graphics2D; the graphics contextString toolTipHit(int testX, int testY)
testX - int; the x-coordinatetestY - int; the y-coordinateCopyright © 2014–2016 Delft University of Technology. All rights reserved.