Examples of PlateSum


Examples of Hexel.generation.terrainGenerator.originalPlateGenerator.plate.PlateSum

    this.smallPSCs = new PlateSumChunks();
    this.bigPSCs = new PlateSumChunks();
  }

  public int getHeight(int px, int py) {
    PlateSum small = this.smallPSCs.getPlateSum(px, py);
    PlateSum big = this.bigPSCs.getPlateSum(px / SCALE, py / SCALE);
    double h = 0;
    if (big.baseHeight < 0) {
      h = big.baseHeight;
      if (h + big.heightVar < 0)
        h += big.heightVar;
View Full Code Here

Examples of Hexel.generation.terrainGenerator.originalPlateGenerator.plate.PlateSum

    }
    return (int) h;
  }

  public double getResistanceToChange(int px, int py) {
    PlateSum small = this.smallPSCs.getPlateSum(px, py);
    return small.resistanceToChange;
  }
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.