WindowShouldClose method

  1. @override
bool WindowShouldClose()
override

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

Implementation

@override
bool WindowShouldClose() => run(
  () => RaylibDebugLabels.WindowShouldClose(),
  () => rl.Core.WindowShouldClose(),
);