Examples of HeightState


Examples of me.daddychurchill.CityWorld.Support.HeightInfo.HeightState

   
    // highest special place
    int maxHeight = Integer.MIN_VALUE;
    int maxHeightX = -1;
    int maxHeightZ = -1;
    HeightState maxState = HeightState.BUILDING;
   
    // lowest special place
    int minHeight = Integer.MAX_VALUE;
    int minHeightX = -1;
    int minHeightZ = -1;
    HeightState minState = HeightState.BUILDING;
   
    // is this natural or buildable?
    for (int x = 0; x < PlatMap.Width; x++) {
      for (int z = 0; z < PlatMap.Width; z++) {
        PlatLot current = platmap.getLot(x, z);
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.