diff --git a/Component-GPU.md b/Component-GPU.md index 0d5dcc1..0e1ba0d 100644 --- a/Component-GPU.md +++ b/Component-GPU.md @@ -27,6 +27,8 @@ Callbacks: Gets the currently set resolution. - `setResolution(width: number, height: number): boolean` Sets the specified resolution. Can be up to the maximum supported resolution. If a larger or invalid resolution is provided it will throw an error. Returns `true` if the resolution was set, `false` otherwise. +- `getSize(): number, number` + Gets the size in blocks of the screen the graphics card is bound to. For simple screens and robots this will be one by one. - `get(x: number, y: number): string` Gets the character currently being displayed at the specified coordinates. - `set(x: number, y: number, value: string): boolean`