Package sc.server.world

Examples of sc.server.world.Tile


    // Make a Tile out of each pixel in the image
    for (int i = 0; i < pixels.length; i++)
    {
      int height = (pixels[i] & 0x0000FF00) >> 8;
      new Tile((x - Tile.HALFMAPSIZE) * Tile.WIDTH, height,
          (z - Tile.HALFMAPSIZE) * Tile.WIDTH);

      x++;
      if (x == WIDTH)
      {
View Full Code Here

TOP

Related Classes of sc.server.world.Tile

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.