public static boolean loadTextures(int level){
  if (ui_digit == null && level > ResourceLevel.BOOTLOADER) {
    ui_digit=TextTexture.generate(TextTexture.TextId.DIGITS);
    allTextures.add(ui_digit);
  }
  Renderer.enableTexture();
  boolean allLoaded=true;
  for (int i=0; i < allTextures.size(); i++) {
    Texture tex=allTextures.get(i);
    if (tex.level <= level && !tex.isLoaded) {
      tex.load();
      allLoaded=false;
    }
  }
  return allLoaded;
}

public static boolean loadTextures ( int level ) { if ( ui_digit == null && level > ResourceLevel . BOOTLOADER ) { ui_digit = TextTexture . generate ( TextTexture . TextId . DIGITS ) ; allTextures . add ( ui_digit ) ; } Renderer . enableTexture ( ) ; boolean allLoaded = true ; for ( int i = 0 ; i < allTextures . size ( ) ; i ++ ) { Texture tex = allTextures . get ( i ) ; if ( tex . level <= level && ! tex . isLoaded ) { tex . load ( ) ; allLoaded = false ; } } return allLoaded ; }
loads all the textures .
