Package amidst.minecraft

Examples of amidst.minecraft.Biome


    g2d.setColor(innerBoxBorderColor);
    g2d.drawRect(innerBox.x - 1, innerBox.y - 1, innerBox.width + 1 + (scrollbarVisible?scrollbarWidth:0), innerBox.height + 1);
    g2d.setClip(innerBox);
   
    for (int i = 0; i < biomes.size(); i++) {
      Biome biome = biomes.get(i);
      if (BiomeLayer.instance.isBiomeSelected(biome.index))
        g2d.setColor(((i % 2) == 1)?biomeLitBgColor1:biomeLitBgColor2);
      else
        g2d.setColor(((i % 2) == 1)?biomeBgColor1:biomeBgColor2);
      g2d.fillRect(innerBox.x, innerBox.y + i * 16 + biomeListYOffset,innerBox.width, 16);
View Full Code Here


          //Log.i("Received NetGetBiomeDataResult: " + currentResults);
        } else if (object instanceof NetBiome[]) {
          NetBiome[] biomes = (NetBiome[])object;
          for (int i = 0; i < biomes.length; i++) {
            if (biomes[i] != null) {
              new Biome(biomes[i].name, biomes[i].id, biomes[i].color | 0xFF000000, true);
            }
          }
        }
      }
    });
View Full Code Here

TOP

Related Classes of amidst.minecraft.Biome

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.