Examples of rateLevel()


Examples of forestry.energy.gadgets.EngineTin.rateLevel()

    super.drawGuiContainerBackgroundLayer(var1, mouseX, mouseY);

    EngineTin engine = getEngine();
    int storageHeight = engine.getStorageScaled(46);
    int storageMaxHeight = engine.getStorageScaled(100);
    EnumTankLevel rated = engine.rateLevel(storageMaxHeight);

    drawHealthMeter(guiLeft + 74, guiTop + 25, storageHeight, rated);
  }

  private void drawHealthMeter(int x, int y, int height, EnumTankLevel rated) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.