Add Region Data
Dieser Commit ist enthalten in:
Ursprung
435e986777
Commit
2bac2b9fb5
@ -19,12 +19,14 @@
|
|||||||
|
|
||||||
package de.steamwar.bausystem.region;
|
package de.steamwar.bausystem.region;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
import yapion.hierarchy.types.YAPIONObject;
|
import yapion.hierarchy.types.YAPIONObject;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
@Getter
|
||||||
public class Prototype {
|
public class Prototype {
|
||||||
|
|
||||||
private static final Map<String, Prototype> PROTOTYPE_MAP = new HashMap<>();
|
private static final Map<String, Prototype> PROTOTYPE_MAP = new HashMap<>();
|
||||||
|
@ -19,5 +19,30 @@
|
|||||||
|
|
||||||
package de.steamwar.bausystem.region;
|
package de.steamwar.bausystem.region;
|
||||||
|
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
public class Region {
|
public class Region {
|
||||||
|
|
||||||
|
private Prototype prototype;
|
||||||
|
private Set<Prototype> alternativePrototypes;
|
||||||
|
|
||||||
|
private Point minPoint;
|
||||||
|
private Point maxPoint;
|
||||||
|
|
||||||
|
private Point minPointTestblock;
|
||||||
|
private Point maxPointTestblock;
|
||||||
|
|
||||||
|
private Point minPointTestblockExtension;
|
||||||
|
private Point maxPointTestblockExtension;
|
||||||
|
|
||||||
|
private Point minPointBuild;
|
||||||
|
private Point maxPointBuild;
|
||||||
|
|
||||||
|
private Point minPointBuildExtension;
|
||||||
|
private Point maxPointBuildExtension;
|
||||||
|
|
||||||
|
private Region linkedRegion = null; // Nullable
|
||||||
|
|
||||||
|
private FlagStorage flagStorage;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren