public static void Perform(GameDriver driver) { if (KeyInput.JustPressed(Keys.Escape)) { driver.Exit(); } }