WindowShouldClose method

bool WindowShouldClose()

Check if application should close (KeyboardKey.KEY_ESCAPE pressed or windows close icon clicked)

Implementation

bool WindowShouldClose() => run(
  () => _debugLabels.WindowShouldClose(),
  () => _flat.WindowShouldClose(),
);