minetest worledit .we format export

- harcoded generation of lua content of .we export
- export something, but not yet correct ( walls are points ... )
This commit is contained in:
philippe lhardy
2020-11-03 17:33:25 +01:00
parent 94b4a0ce66
commit 8211147b28
5 changed files with 363 additions and 119 deletions

View File

@@ -1,4 +1,31 @@
package org.artisanlogiciel.games.minetest;
public class Node {
int x;
int y;
int z;
String material;
public Node(int x, int y, int z, String material) {
this.x = x;
this.y = y;
this.z = z;
this.material = material;
}
public int getX() {
return x;
}
public int getY() {
return y;
}
public int getZ() {
return z;
}
public String getMaterial() {
return material;
}
}