374375376377378379380381382
battleManager.resumeBattle(); } } public boolean closeRobocodeEditor() { IRobocodeEditor editor = net.sf.robocode.core.Container.getComponent(IRobocodeEditor.class); return editor == null || !((JFrame) editor).isVisible() || editor.close(); }