[]
Returns the number of tiles in the horizontal and vertical directions. This default implementation assumes no tiling, so (1,1) is always returned.
public virtual Coord getNumTiles(Coord co)
Public Overridable Function getNumTiles(co As Coord) As Coord
| 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. This default implementation assumes no tiling, so 1 is always returned.
public virtual int getNumTiles()
Public Overridable Function getNumTiles() As Integer
| Type | Description |
|---|---|
| int | The total number of tiles in the image. |