if (client.game.getEntity(en) != null) { this.cen = en; target(Entity.NONE); client.game.board.highlight(ce().getPosition()); client.game.board.select(null); client.game.board.cursor(null);  client.mechD.displayMech(ce()); client.mechD.showPanel("weapons"); selectedWeapon = ce().getFirstWeapon(); client.mechD.wPan.selectWeapon(selectedWeapon);  client.bv.centerOnHex(ce().getPosition()); } else { System.err.println("FiringDisplay: tried to select non-existant entity: " + en); System.err.println("FiringDisplay: sending ready signal..."); client.sendReady(true);
if (client.game.getEntity(en) != null) { this.cen = en; target(Entity.NONE); client.game.board.highlight(ce().getPosition()); client.game.board.select(null); client.game.board.cursor(null);  client.mechD.displayMech(ce()); client.mechD.showPanel("weapons"); selectedWeapon = ce().getFirstWeapon(); client.mechD.wPan.selectWeapon(selectedWeapon);  client.bv.centerOnHex(ce().getPosition()); } else { System.err.println("FiringDisplay: tried to select non-existant entity: " + en); System.err.println("FiringDisplay: sending ready signal..."); client.sendReady(true); }
    public void selectEntity(int en) {    if (client.game.getEntity(en) != null) {          this.cen = en;          target(Entity.NONE);          client.game.board.highlight(ce().getPosition());          client.game.board.select(null);          client.game.board.cursor(null);                client.mechD.displayMech(ce());          client.mechD.showPanel("weapons");      selectedWeapon = ce().getFirstWeapon();      client.mechD.wPan.selectWeapon(selectedWeapon);                client.bv.centerOnHex(ce().getPosition());    } else {      System.err.println("FiringDisplay: tried to select non-existant entity: " + en);      System.err.println("FiringDisplay: sending ready signal...");          client.sendReady(true);    }    }