Package Engine.Blocks

Examples of Engine.Blocks.Stone


        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();
      }
      for (int y = TerrainHeight - 2; y > TerrainHeight - 15; y--) {
        if (y >= 0)
          if (blocks[y][x].ID() == (new Air()).ID())
            blocks[y][x] = new Water();
View Full Code Here

TOP

Related Classes of Engine.Blocks.Stone

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.