diff options
author | Nao Pross <naopross@thearcway.org> | 2018-12-15 14:59:28 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-12-15 14:59:28 +0100 |
commit | 03a92d22027ef0738d1ebfd59145236905751425 (patch) | |
tree | f488a709b1180c6f5e82c71c3fcd39c2a71e6576 /src/libjtmx | |
parent | Change Tile.loaded to Tile.active (diff) | |
download | Subconscious-java-03a92d22027ef0738d1ebfd59145236905751425.tar.gz Subconscious-java-03a92d22027ef0738d1ebfd59145236905751425.zip |
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
Diffstat (limited to '')
-rw-r--r-- | src/libjtmx/Map.java | 10 | ||||
-rw-r--r-- | src/libjtmx/module-info.java | 3 |
2 files changed, 13 insertions, 0 deletions
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 |