Sets the size of the tile and updates its pixelX and pixelY.
name | type | description |
---|---|---|
tileWidth | number |
The width of the tile in pixels. |
tileHeight | number |
The height of the tile in pixels. |
baseWidth | number |
The base width a tile in the map (in pixels). |
baseHeight | number |
The base height of the tile in pixels (in pixels). |
This Tile object instance.