KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > microedition > lcdui > game > TiledLayer

javax.microedition.lcdui.game
Class TiledLayer

java.lang.Object
  |
  +--javax.microedition.lcdui.game.Layer
        |
        +--javax.microedition.lcdui.game.TiledLayer
See Also:
fillCells(int, int, int, int, int), setCell(int, int, int), setAnimatedTile(int, int), createAnimatedTile(int), setStaticTileSet(javax.microedition.lcdui.Image, int, int)

public int createAnimatedTile(int staticTileIndex)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void fillCells(int col,
                      int row,
                      int numCols,
                      int numRows,
                      int tileIndex)
See Also:
getCell(int, int), setCell(int, int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getAnimatedTile(int animatedTileIndex)
See Also:
setAnimatedTile(int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getCell(int col,
                   int row)
See Also:
fillCells(int, int, int, int, int), setCell(int, int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getCellHeight()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getCellWidth()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getColumns()
See Also:
Layer.getWidth()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getRows()
See Also:
Layer.getHeight()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void paint(Graphics g)
See Also:
Layer, Layer.getY(), Layer.getX()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setAnimatedTile(int animatedTileIndex,
                            int staticTileIndex)
See Also:
getAnimatedTile(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setCell(int col,
                    int row,
                    int tileIndex)
See Also:
fillCells(int, int, int, int, int), getCell(int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setStaticTileSet(Image image,
                             int tileWidth,
                             int tileHeight)
See Also:
TiledLayer(int, int, Image, int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TiledLayer(int columns,
                  int rows,
                  Image image,
                  int tileWidth,
                  int tileHeight)
See Also:
setStaticTileSet(Image, int, int), fillCells(int, int, int, int, int), setCell(int, int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags