(screen: Screen, x: number, y: number)
| 422 | } |
| 423 | |
| 424 | export function isEmptyCellAt(screen: Screen, x: number, y: number): boolean { |
| 425 | if (x < 0 || y < 0 || x >= screen.width || y >= screen.height) return true |
| 426 | return isEmptyCellByIndex(screen, y * screen.width + x) |
| 427 | } |
| 428 | |
| 429 | /** |
| 430 | * Check if a Cell (view object) represents an empty cell. |
no test coverage detected