1681-engine / index / blocksShot
Function: blocksShot() ​
ts
function blocksShot(
grid,
tx,
ty
): boolean;Defined in: src/net/movement.ts:77
Whether a shot in flight stops on this tile: solid, and not ground a shot flies over (shotOverTiles).
Parameters ​
| Parameter | Type |
|---|---|
grid | CollisionGrid |
tx | number |
ty | number |
Returns ​
boolean