if (getElevation()>getGame().getBoard().getHex(curPos).getCeiling()) {
if (getElevation()>getGame().getBoard().getHex(curPos).ceiling()) {
    public boolean checkMovementInBuilding(Coords lastPos, Coords curPos,                                           MoveStep step, IHex curHex,                                           IHex prevHex) {        if (this instanceof VTOL) {            if (getElevation()>getGame().getBoard().getHex(curPos).getCeiling()) {                return false;            }        }                if ( !lastPos.equals(curPos) &&             step.getMovementType() != IEntityMovementType.MOVE_JUMP &&             ( curHex.containsTerrain(Terrains.BUILDING) ||               (prevHex != null && prevHex.containsTerrain(Terrains.BUILDING)) ) &&             !(this instanceof Infantry) ) {            return true;        } else {            return false;        }    }