Back to project page acceptableLosses.
The source code is released under:
MIT License
If you think the Android project acceptableLosses listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package acceptableLosses.map; /* w ww.j av a 2 s. co m*/ import acceptableLosses.assets.TileType; import acceptableLosses.work.jobs.Job; public class Chunk { public static final int chunkSize = 64; public final int lowCornerX; public final int lowCornerY; public final int lowCornerZ; public TileType[][][] tiles; private final Furniture[][][] furniture; private final Job[][][] jobs; public Chunk(int lowCornerX, int lowCornerY, int lowCornerZ, TileType[][][] data) { this.lowCornerX = lowCornerX; this.lowCornerY = lowCornerY; this.lowCornerZ = lowCornerZ; this.tiles = data; furniture = new Furniture[chunkSize][chunkSize][chunkSize]; jobs = new Job[chunkSize][chunkSize][chunkSize]; } public boolean isBlocked(int x, int y, int z) { return false; } }