public void execute() { try { b.moveDeveloper(); try { APUsed = b.useDevMoveAP(); } catch (Exception e) { b.unMoveDeveloper(); save = false; b.sendErrorMessage(e.toString()); b.render(); } } catch (Exception e) { save = false; b.sendErrorMessage(e.toString()); b.render(); } }
public void undo() { b.unuseDevMoveAP(); b.unMoveDeveloper(); }