[]
Returns the number of tiles in the horizontal and vertical directions.
<p>This default implementation returns the value of the source.</p>
public virtual 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.
<p>This default implementation returns the value of the source.</p>
public virtual int getNumTiles()
Type | Description |
---|---|
int | The total number of tiles in the image. |