@@ -0,0 +1,594 @@
+package com.ezardlabs.lostsector.objects.menus;%0A%0Aimport com.ezardlabs.dethsquare.Input;%0Aimport com.ezardlabs.dethsquare.Input.KeyCode;%0Aimport com.ezardlabs.dethsquare.LevelManager;%0A%0Apublic class EscMenu extends Menu %7B%0A%0A%09public EscMenu() %7B%0A%09%09super(new String%5B%5D%7B%0A%09%09%09%09%22Resume%22,%0A%09%09%09%09%22Settings%22,%0A%09%09%09%09%22Quit%22%0A%09%09%7D, new MenuAction%5B%5D%7B%0A%09%09%09%09(menu, index, text) -%3E menu.close(),%0A%09%09%09%09(menu, index, text) -%3E %7B%7D,%0A%09%09%09%09(menu, index, text) -%3E LevelManager.loadLevel(%22main_menu%22)%0A%09%09%7D, false);%0A%09%7D%0A%0A%09@Override%0A%09public void update() %7B%0A%09%09if (Input.getKeyDown(KeyCode.ESCAPE)) %7B%0A%09%09%09toggle();%0A%09%09%7D%0A%09%09super.update();%0A%09%7D%0A%7D%0A

Add escape menu