[]
Changes the current tile, given the new indexes. An IllegalArgumentException is thrown if the indexes do not correspond to a valid tile.
<p>This default implementation just changes the tile in the source.</p>
public virtual void setTile(int x, int y)
Type | Name | Description |
---|---|---|
int | x | The horizontal index of the tile. |
int | y | The vertical index of the new tile. |