| 28 | constexpr int window_height = 32; |
| 29 | |
| 30 | Game_Quit::Game_Quit() |
| 31 | : window(0, 0, window_width, window_height, Drawable::Flags::Global) |
| 32 | { |
| 33 | window.SetBackOpacity(128); |
| 34 | window.SetZ(Priority_Overlay - 20); |
| 35 | OnResolutionChange(); |
| 36 | Reset(); |
| 37 | } |
| 38 | |
| 39 | void Game_Quit::Update() { |
| 40 | if (Scene::instance == nullptr || Scene::instance->type == Scene::Title || !Scene::Find(Scene::Title) || !Input::IsPressed(Input::RESET)) { |
nothing calls this directly
no test coverage detected