Check if the tile at a grid position is flagged as a hazard (e.g. spikes, lava).
Tile X index
Tile Y index
True if the tile is a hazard
Check if the tile at a grid position is flagged as a hazard (e.g. spikes, lava).