Set a callback to be called when this tile is hit by an object. The callback must true for collision processing to take place.
name | type | description |
---|---|---|
callback | function |
Callback function. |
context | object |
Callback will be called within this context. |
This Tile object instance.