|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrlgamekit.map.display.AbstractTilePainter
public abstract class AbstractTilePainter
Paint a map element at a specified screen location.
| Field Summary | |
|---|---|
protected int |
viewHeight
|
protected int[] |
viewMap
|
protected int |
viewWidth
|
| Fields inherited from interface rlgamekit.map.display.TilePainter |
|---|
VIEW_REMEMBERED, VIEW_VISIBLE |
| Constructor Summary | |
|---|---|
AbstractTilePainter()
|
|
| Method Summary | |
|---|---|
void |
setViewMap(int[] viewMap,
int viewWidth,
int viewHeight)
Set the source map data for painting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface rlgamekit.map.display.TilePainter |
|---|
paint |
| Field Detail |
|---|
protected int viewWidth
protected int viewHeight
protected int[] viewMap
| Constructor Detail |
|---|
public AbstractTilePainter()
| Method Detail |
|---|
public void setViewMap(int[] viewMap,
int viewWidth,
int viewHeight)
viewMap - Which map cells are visible?viewWidth - Width of view array.viewHeight - height of view array.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||