Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.huguesjohnson.tiamat.graphics
Interface Drawable

All Known Implementing Classes:
  Dialog, Map, Sprite, TileMap

    public interface Drawable

Drawable - interface for objects that can be drawn

Author:
  Hugues Johnson

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

### draw

    void draw()

  Draw the entire object.

### draw

    void draw(int x,
              int y)

  Draws the entire map at location specified by (x,y).

  Parameters:
    `x` - The x co-ordinate.
    `y` - The y co-ordinate.

### draw

    void draw(int x1,
              int y1,
              int x2,
              int y2)

  Draws the map within the boundaries specified by (x1,y1) and (x2,y2).

  Parameters:
    `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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD