|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Drawable
Drawable - interface for objects that can be drawn
Method Summary | |
---|---|
void |
draw()
Draw the entire object. |
void |
draw(int x,
int y)
Draws the entire map at location specified by (x,y). |
void |
draw(int x1,
int y1,
int x2,
int y2)
Draws the map within the boundaries specified by (x1,y1) and (x2,y2). |
Method Detail |
---|
void draw()
void draw(int x, int y)
x
- The x co-ordinate.y
- The y co-ordinate.void draw(int x1, int y1, int x2, int y2)
x1
- The x co-ordinate to start at.y1
- The y co-ordinate to start at.x2
- The x co-ordinate to end at.y2
- The y co-ordinate to end at.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |