* This function initializes the notification grid. It can also be used to reset the grid.
()
| 723 | * This function initializes the notification grid. It can also be used to reset the grid. |
| 724 | */ |
| 725 | initNotificationGrid() { |
| 726 | this.notification_grid = new Array(this.notification_grid_height); |
| 727 | for (let y = 0; y < this.notification_grid_height; y++) { |
| 728 | this.notification_grid[y] = new Array(this.notification_grid_width); |
| 729 | for (let x = 0; x < this.notification_grid_width; x++) { |
| 730 | this.notification_grid[y][x] = "(0,0,0)"; |
| 731 | } |
| 732 | } |
| 733 | }, |
| 734 | |
| 735 | /** |
| 736 | * This function is executed each time the screen is resized. |
nothing calls this directly
no outgoing calls
no test coverage detected