[]
Returns the number of tiles in the horizontal and vertical directions.
Coord getNumTiles(Coord co)
| Type | Name | Description |
|---|---|---|
| Coord | co | If not null this object is used to return the information. If null a new one is created and returned. |
| Type | Description |
|---|---|
| Coord | The number of tiles in the horizontal (Coord.x) and vertical (Coord.y) directions. |
Returns the total number of tiles in the image.
int getNumTiles()
| Type | Description |
|---|---|
| int | The total number of tiles in the image. |