|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaim4.util.TiledArea.Tile
public static class TiledArea.Tile
A tile.
Constructor Summary | |
---|---|
TiledArea.Tile(Rectangle2D rectangle,
int x,
int y,
int id)
Create a tile. |
Method Summary | |
---|---|
int |
getId()
Get the id of this tile |
Rectangle2D |
getRectangle()
Get the area controlled by this ReservationTile. |
int |
getX()
Get the x-coordinate of this tile |
int |
getY()
Get the y-coordinate of this tile |
boolean |
isEdgeTile()
Whether or not this tile is on the edge |
void |
setEdgeTile(boolean edgeTile)
Set whether or not this tile is on the edge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TiledArea.Tile(Rectangle2D rectangle, int x, int y, int id)
rectangle
- the area of the tilex
- the x-coordinate of the tiley
- the y-coordinate of the tileid
- the ID of the tileMethod Detail |
---|
public Rectangle2D getRectangle()
public int getX()
public int getY()
public int getId()
public boolean isEdgeTile()
public void setEdgeTile(boolean edgeTile)
edgeTile
- whether or not this tile is on the edge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |