containsPoint(x, y) → {boolean}
Check if the given x and y world coordinates are within this Tile.
Parameters
Name | Type | Description |
---|---|---|
x | number | The x coordinate to test. |
y | number | The y coordinate to test. |
Returns
boolean -
True if the coordinates are within this Tile, otherwise false.
- Source code: tilemap/Tile.js (Line 156)
Please login to continue.