int velocity = step.getVelocity(); if (bv.game.getBoard().onGround()) { velocity *= 16;
public int getFinalVelocity() { if (getLastStep() != null) { return getLastStep().getVelocity(); } if (getEntity().isAero()) { return ((IAero) getEntity()).getCurrentVelocity(); } return 0; }
int veln = a.getNextVelocity(); if (null != last) { vel = last.getVelocity(); veln = last.getVelocityN();
break; case ACC: setVelocity(getVelocity() + 1); setVelocityLeft(getVelocityLeft() + 1); setMp(1); break; case DEC: setVelocity(getVelocity() - 1); setVelocityLeft(getVelocityLeft() - 1); setMp(1); case MANEUVER: int cost = ManeuverType.getCost(getManeuverType(), getVelocity()); if (entity.isUsingManAce()) { cost = Math.max(cost - 1, 0);
&& (null != cmd.getLastStep()) && (cmd.getLastStep().getNDown() == 1) && (cmd.getLastStep().getVelocity() < 12) && !(((IAero) ce).isSpheroid() || clientgui.getClient() .getGame().getPlanetaryConditions().isVacuum())) {
return (int) Math.ceil(getVelocity() / 2.0); } else if (useSpheroidAtmosphere(game, entity)) { return 0;
int vel = getVelocity(); int thresh = 99;
step.getVelocity(), curPos, curFacing, false); checkNag(rollTarget, nagReport, psrList); step.getVelocity(), curPos, curFacing, true); checkNag(rollTarget, nagReport, psrList);
&& entity.isAero()) { rollTarget = ((IAero) entity).checkLanding(moveType, step.getVelocity(), curPos, curFacing, false); checkNag(rollTarget, nagReport, psrList); && entity.isAero()) { rollTarget = ((IAero) entity).checkLanding(moveType, step.getVelocity(), curPos, curFacing, true); checkNag(rollTarget, nagReport, psrList);