public class TileSet
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected java.util.Vector |
mRegions |
The list of Pictures.
|
Constructor | Description |
---|---|
TileSet() |
Construct a tile set.
|
Modifier and Type | Method | Description |
---|---|---|
void |
add(Picture r) |
Add a single picture to the list.
|
void |
bringToTop(Picture picture) |
Move the given picture to the top of the Z order.
|
java.util.Enumeration |
getPictures() |
Get the list of pictures.
|
int |
getSize() |
Get the number of tiles in this collection.
|
Picture |
pictureAt(int x,
int y) |
Find the Picture at position x,y
|
public int getSize()
public java.util.Enumeration getPictures()
public void add(Picture r)
r
- The picture to add.public Picture pictureAt(int x, int y)
x
- The x coordinate of the point to examine.y
- The y coordinate of the point to examine.null
if there are none.public void bringToTop(Picture picture)
picture
- The picture to add.HTML Parser is an open source library released under LGPL.