[]
Changes the current tile, given the new indices. An IllegalArgumentException is thrown if the coordinates do not correspond to a valid tile.
<p>This default implementation calls the same method on 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. |