|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectCircle
Beeper
public class Beeper
| Constructor Summary | |
|---|---|
Beeper(int x,
int y)
Constructs a beeper at a given grid location. |
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics2D g2)
Draws this beeper in 2D. |
int |
getX()
Gets the x location of the center of this beeper. |
int |
getY()
Gets the y location of the center of this beeper. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Beeper(int x,
int y)
x - the x location of the beepery - the y location of the beeper| Method Detail |
|---|
public int getX()
public int getY()
public void draw(java.awt.Graphics2D g2)
g2 - the graphics context
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||