Check if any tiles are dirty
Clear all dirty tiles without processing
Flush all dirty tiles and return them. Clears the dirty set.
Flush and invoke the auto-flush callback if set
Check if a specific tile is dirty
Mark a tile position as needing collision rebuild
Mark a rectangular region as dirty
Set a callback that's invoked on flush with the dirty tiles. Useful for automatic collision layer updates.
Get count of dirty tiles