public class Tilemap extends Visual
Constructor and Description |
---|
Tilemap(java.lang.Object tx,
TextureFilm tileset) |
Modifier and Type | Method and Description |
---|---|
void |
draw() |
SmartTexture |
getTexture() |
TextureFilm |
getTileset() |
void |
map(int[] data,
int cols) |
void |
setTexture(SmartTexture texture) |
Rect |
updateRegion() |
alpha, alpha, bottom, brightness, center, center, color, color, hardlight, hardlight, height, invert, isVisible, lightness, overlapsPoint, overlapsScreenPoint, point, point, point, resetColor, Scale, Scale, setPos, setScale, tint, tint, update, width
camera, destroy, getParent, getVisible, hasParent, isActive, kill, killAndErase, remove, revive, setNullParent, setParent, setVisible
public Tilemap(java.lang.Object tx, TextureFilm tileset)
public void map(int[] data, int cols)
public Rect updateRegion()
public TextureFilm getTileset()
public SmartTexture getTexture()
public void setTexture(SmartTexture texture)