public boolean isJumping(){
  if (steps.size() > 0) {
    boolean jump=false;
    for (    MoveStep step : steps) {
      if (step.getType() == MovePath.MoveStepType.START_JUMP) {
        jump=true;
      }
    }
    return jump;
  }
  return false;
}

public boolean isJumping ( ) { if ( steps . size ( ) > 0 ) { boolean jump = false ; for ( MoveStep step : steps ) { if ( step . getType ( ) == MovePath . MoveStepType . START_JUMP ) { jump = true ; } } return jump ; } return false ; }
returns true if the entity is jumping or if it ' s a flying lam .
