public class DungeonTilemap extends Tilemap
| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Constructor and Description |
|---|
DungeonTilemap(java.lang.String tiles) |
| Modifier and Type | Method and Description |
|---|---|
void |
discover(int pos,
int oldValue) |
void |
draw() |
boolean |
overlapsPoint(float x,
float y) |
boolean |
overlapsScreenPoint(int x,
int y) |
int |
screenToTile(int x,
int y) |
static CompositeImage |
tile(int cell) |
static CompositeImage |
tile(int cell,
int tileType) |
static PointF |
tileCenterToWorld(int pos) |
static PointF |
tileToWorld(int pos) |
void |
updateAll() |
void |
updateCell(int cell) |
getTexture, getTileset, map, setTexture, updateRegionalpha, alpha, bottom, brightness, center, center, color, color, hardlight, hardlight, height, invert, isVisible, lightness, point, point, point, resetColor, Scale, Scale, setPos, setScale, tint, tint, update, widthcamera, destroy, getParent, getVisible, hasParent, isActive, kill, killAndErase, remove, revive, setNullParent, setParent, setVisiblepublic static final int SIZE
public int screenToTile(int x,
int y)
public boolean overlapsPoint(float x,
float y)
overlapsPoint in class Visualpublic void discover(int pos,
int oldValue)
public static PointF tileToWorld(int pos)
public static PointF tileCenterToWorld(int pos)
public static CompositeImage tile(int cell)
public static CompositeImage tile(int cell, int tileType)
public boolean overlapsScreenPoint(int x,
int y)
overlapsScreenPoint in class Visualpublic void updateAll()
public void updateCell(int cell)