|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--EDU.gatech.cc.is.simulation.ObstacleSim | +--EDU.gatech.cc.is.simulation.ObstacleInvisibleSim
an invisible obstacle.
Copyright (c)2000 Tucker Balch
Fields inherited from class EDU.gatech.cc.is.simulation.ObstacleSim |
all_objects,
background,
DEBUG,
foreground,
lastx,
lasty,
position,
RADIUS,
unique_id,
visionclass |
Constructor Summary | |
ObstacleInvisibleSim()
|
Method Summary | |
void |
draw(java.awt.Graphics g,
int w,
int h,
double t,
double b,
double l,
double r)
Draw the obstacle. |
Methods inherited from class EDU.gatech.cc.is.simulation.ObstacleSim |
checkCollision,
checkCollision,
clearTrail,
draw,
drawIcon,
drawID,
drawState,
drawTrail,
getCenter,
getClosestPoint,
getID,
getPosition,
getVisionClass,
init,
isObstacle,
isPickupable,
isPushable,
pickUp,
push,
putDown,
quit,
receive,
setID,
setTrailLength,
setVisionClass,
takeStep |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ObstacleInvisibleSim()
Method Detail |
public void draw(java.awt.Graphics g, int w, int h, double t, double b, double l, double r)
g
- graphics area to draw the object.w
- the width in pixels of g.h
- the height in pixels of g.t
- the y coordinate represented by the top boundary of
the drawing area.b
- the y coordinate represented by the bottom boundary of
the drawing area.l
- the x coordinate represented by the left boundary of
the drawing area.r
- the x coordinate represented by the right boundary of
the drawing area.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |