Returns the width of the game screen, which is scaled by the window scale factor.
| 179 | |
| 180 | // Returns the width of the game screen, which is scaled by the window scale factor. |
| 181 | int32_t width() |
| 182 | { |
| 183 | const auto& screenInfo = Gfx::getDrawingEngine().getScreenInfo(); |
| 184 | return screenInfo.width; |
| 185 | } |
| 186 | |
| 187 | // Returns the height of the game screen, which is scaled by the window scale factor. |
| 188 | int32_t height() |
no outgoing calls
no test coverage detected