(x: int, y: int)
| 239 | // for light or true for dark. The top left corner has the coordinates (x=0, y=0). |
| 240 | // If the given coordinates are out of bounds, then false (light) is returned. |
| 241 | public getModule(x: int, y: int): boolean { |
| 242 | return 0 <= x && x < this.size && 0 <= y && y < this.size && this.modules[y]![x]!; |
| 243 | } |
| 244 | |
| 245 | /*-- Private helper methods for constructor: Drawing function modules --*/ |
| 246 |
no outgoing calls
no test coverage detected