rlgamekit.map.display
Interface TilePainter

All Known Implementing Classes:
AbstractTilePainter, ASCIITilePainter, GraphicsTilePainter

public interface TilePainter

Paint a map element at a specified screen location.


Field Summary
static int VIEW_REMEMBERED
          Paint a cell in "remembered" style
static int VIEW_VISIBLE
          Paint a cell in full detail
 
Method Summary
 void paint(java.awt.Graphics gr, int layer, int mapX, int mapY, int xpos, int ypos, int tileNo)
          Paint a map element.
 

Field Detail

VIEW_REMEMBERED

static final int VIEW_REMEMBERED
Paint a cell in "remembered" style

See Also:
Constant Field Values

VIEW_VISIBLE

static final int VIEW_VISIBLE
Paint a cell in full detail

See Also:
Constant Field Values
Method Detail

paint

void paint(java.awt.Graphics gr,
           int layer,
           int mapX,
           int mapY,
           int xpos,
           int ypos,
           int tileNo)
Paint a map element.

Parameters:
gr - The graphics context to paint onto.
layer - The map layer
mapX - The map x coordinate
mapY - The map y coordinate
xpos - The screen x position to draw to
ypos - The screen y position to draw to
tileNo - The tile number to draw