From 03a92d22027ef0738d1ebfd59145236905751425 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sat, 15 Dec 2018 14:59:28 +0100 Subject: Remove Gson dependency start custom libjtmx implementation This commit breaks MapLoader and by consequence the entire game. Being in Java 9+ now we will have multiple modules, namely: - libjtmx: separate minimal tmx (tiled) files loader library - subconscious: the game itself --- src/libjtmx/Map.java | 10 ++++++++++ src/libjtmx/module-info.java | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 src/libjtmx/Map.java create mode 100644 src/libjtmx/module-info.java (limited to 'src/libjtmx') diff --git a/src/libjtmx/Map.java b/src/libjtmx/Map.java new file mode 100644 index 0000000..d9333a8 --- /dev/null +++ b/src/libjtmx/Map.java @@ -0,0 +1,10 @@ +package libjtmx; + +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; + +@XmlRootElement +public class Map { + +} \ No newline at end of file diff --git a/src/libjtmx/module-info.java b/src/libjtmx/module-info.java new file mode 100644 index 0000000..4dc4197 --- /dev/null +++ b/src/libjtmx/module-info.java @@ -0,0 +1,3 @@ +module libjtmx { + requires java.xml.bind; +} \ No newline at end of file -- cgit v1.2.1