package org.artisanlogiciel.games.minetest; public class Node { int x; int y; int z; Material material; public Node(int x, int y, int z, Material material) { this.x = x; this.y = y; this.z = z; this.material = material; } public Node(int x, int y, int z) { this.x = x; this.y = y; this.z = z; this.material = Material.DEFAULT; } public int getX() { return x; } public int getY() { return y; } public int getZ() { return z; } public Material getMaterial() { return material; } }