Package Engine.Blocks

Examples of Engine.Blocks.Dirt


       * -10+(5*Math.sin(x/seed)))) {
       *
       * }
       */
      for (int y = TerrainHeight - 2; y > GetTerrainHeight(x + (cx * 16)); y--) {
        blocks[y][x] = new Dirt();
      }
      for (int y = TerrainHeight - 2; y > GetTerrainHeight(x + (cx * 16))
          + 4 + random.nextInt(2); y--) {
        if (y >= 0)
          blocks[y][x] = new Stone();
View Full Code Here

TOP

Related Classes of Engine.Blocks.Dirt

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.