From bb476cc9693abbb068d6dd3279f8f18565a22b84 Mon Sep 17 00:00:00 2001 From: Piegames <14054505+piegamesde@users.noreply.github.com> Date: Sat, 21 Apr 2018 19:50:50 +0200 Subject: [PATCH 1/9] Room --- Assets/Scripts/Room.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Room.cs b/Assets/Scripts/Room.cs index 7975846..924ebbe 100644 --- a/Assets/Scripts/Room.cs +++ b/Assets/Scripts/Room.cs @@ -4,8 +4,12 @@ using UnityEngine; public class Room : MonoBehaviour { - [SerializeField] - int width, height; // Gridsize for Generation + public enum TileType { + GROUND, WALL, DOOR + } + + Vector2 position; + Map tiles; List doors; List spawnpoints; From a9c61575896fd31d83191c49f0f2a77f01f8b3e8 Mon Sep 17 00:00:00 2001 From: Piegames <14054505+piegamesde@users.noreply.github.com> Date: Sun, 22 Apr 2018 02:06:53 +0200 Subject: [PATCH 2/9] Tobi ist doof --- Test/.classpath | 21 ++ Test/.project | 23 +++ .../org.eclipse.core.resources.prefs | 2 + Test/.settings/org.eclipse.jdt.core.prefs | 12 ++ Test/.settings/org.eclipse.m2e.core.prefs | 4 + Test/pom.xml | 66 ++++++ Test/src/LD41Map.java | 192 ++++++++++++++++++ 7 files changed, 320 insertions(+) create mode 100755 Test/.classpath create mode 100755 Test/.project create mode 100755 Test/.settings/org.eclipse.core.resources.prefs create mode 100755 Test/.settings/org.eclipse.jdt.core.prefs create mode 100755 Test/.settings/org.eclipse.m2e.core.prefs create mode 100755 Test/pom.xml create mode 100644 Test/src/LD41Map.java diff --git a/Test/.classpath b/Test/.classpath new file mode 100755 index 0000000..96e7d0f --- /dev/null +++ b/Test/.classpath @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/Test/.project b/Test/.project new file mode 100755 index 0000000..a00228e --- /dev/null +++ b/Test/.project @@ -0,0 +1,23 @@ + + + Test + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.jdt.core.javanature + + diff --git a/Test/.settings/org.eclipse.core.resources.prefs b/Test/.settings/org.eclipse.core.resources.prefs new file mode 100755 index 0000000..25f3d27 --- /dev/null +++ b/Test/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding//src/numberToWords/FrenchNumberToWords.java=UTF-8 diff --git a/Test/.settings/org.eclipse.jdt.core.prefs b/Test/.settings/org.eclipse.jdt.core.prefs new file mode 100755 index 0000000..df46a9a --- /dev/null +++ b/Test/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,12 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Test/.settings/org.eclipse.m2e.core.prefs b/Test/.settings/org.eclipse.m2e.core.prefs new file mode 100755 index 0000000..14b697b --- /dev/null +++ b/Test/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/Test/pom.xml b/Test/pom.xml new file mode 100755 index 0000000..d843013 --- /dev/null +++ b/Test/pom.xml @@ -0,0 +1,66 @@ + + 4.0.0 + Test + Test + 0.0.1-SNAPSHOT + + + + Eclipse Paho Repo + https://repo.eclipse.org/content/repositories/paho-releases/ + + + + + + org.eclipse.paho + org.eclipse.paho.client.mqttv3 + 1.0.2 + + + + com.github.ben-manes.caffeine + caffeine + 2.5.4 + + + com.jakewharton + disklrucache + 2.0.2 + + + org.mapdb + mapdb + 3.0.5 + + + org.joml + joml + 1.9.9 + + + + src + + + src + + **/*.java + + + + + + maven-compiler-plugin + 3.5.1 + + 1.8 + 1.8 + + + + + \ No newline at end of file diff --git a/Test/src/LD41Map.java b/Test/src/LD41Map.java new file mode 100644 index 0000000..ee2c635 --- /dev/null +++ b/Test/src/LD41Map.java @@ -0,0 +1,192 @@ +import java.awt.BasicStroke; +import java.awt.Color; +import java.awt.Dimension; +import java.awt.Graphics; +import java.awt.Graphics2D; +import java.awt.Point; +import java.awt.Rectangle; +import java.awt.event.KeyEvent; +import java.awt.event.KeyListener; +import java.util.Comparator; +import java.util.HashSet; +import java.util.Map; +import java.util.Set; +import javax.swing.JFrame; +import javax.swing.JPanel; +import org.joml.Vector2i; +import javafx.util.Pair; + +public class LD41Map { + + public static class Vertex { + + public final Room r; + public float value; + public Vertex parent; + + public Vertex(Room r) { + this.r = r; + value = Float.POSITIVE_INFINITY; + parent = null; + } + } + + public static class Edge { + + public final Vertex r1, r2; + public double dist; + + public Edge(Vertex r1, Vertex r2) { + this.r1 = r1; + this.r2 = r2; + dist = r1.r.distance(r2.r); + } + } + + public static class Room { + + Rectangle bounds = new Rectangle(); + // int width = 0, height = 0; + // Vector2i pos = new Vector2i(); + Map tiles; + + public float distance(Room r) { + // Vector2i center1 = new Vector2i(bounds.x + bounds.width / 2, bounds.y + bounds.height / 2); + // Vector2i center2 = new Vector2i(r.bounds.x + r.bounds.width / 2, r.bounds.y + r.bounds.height / 2); + // return (float) center1.distance(center2); + return (float) Point.distance(bounds.x, bounds.y, r.bounds.x, r.bounds.y); + } + } + + public static enum TileType { + GROUND, WALL, DOOR; + } + + public static void main(String[] args) { + Set rooms = new HashSet<>(); + rooms.addAll(generate().getKey()); + + { + JFrame frame = new JFrame(); + frame.setDefaultCloseOperation(3); + JPanel panel = new JPanel() { + + private static final long serialVersionUID = 5954622107064881267L; + + @Override + public void paintComponent(Graphics h) { + super.paintComponent(h); + Pair, Pair>> graph = generate(); + Graphics2D g = (Graphics2D) h; + g.translate(getWidth() / 2, getHeight() / 2); + g.scale(4, 4); + for (Room room : graph.getKey()) { + g.setColor(new Color(1f, 0f, 0f, 0.8f)); + g.fill(room.bounds); + } + g.setColor(Color.BLUE); + g.setStroke(new BasicStroke(2)); + for (Edge e : graph.getValue().getValue()) { + g.drawLine(e.r1.r.bounds.x, e.r1.r.bounds.y, e.r2.r.bounds.x, e.r2.r.bounds.y); + } + Room root = graph.getValue().getKey().r; + g.setColor(Color.GREEN); + g.fillRect(root.bounds.x, root.bounds.y, 2, 2); + } + }; + frame.add(panel); + frame.setPreferredSize(new Dimension(800, 500)); + frame.pack(); + frame.setVisible(true); + frame.repaint(); + frame.setExtendedState(6); + + frame.addKeyListener(new KeyListener() { + + @Override + public void keyTyped(KeyEvent e) { + rooms.clear(); + Pair, Pair>> graph = generate(); + rooms.addAll(graph.getKey()); + frame.repaint(); + } + + @Override + public void keyReleased(KeyEvent e) { + } + + @Override + public void keyPressed(KeyEvent e) { + } + }); + } + } + + public static Pair, Pair>> generate() { + int minRoomSize = 50; + Set rooms = new HashSet<>(); + for (int i = 0; i < 7 + (int) (Math.random() * 4); i++) { + Room room = new Room(); + room.bounds.width = 15 + (int) (Math.random() * 20); + room.bounds.height = 15 + (int) (Math.random() * 20); + rooms.add(room); + } + + outest: while (true) { + for (Room r1 : rooms) { + for (Room r2 : rooms) { + if (r1 == r2) + continue; + Vector2i p1 = new Vector2i(r1.bounds.x + r1.bounds.width / 2, r1.bounds.y + r1.bounds.height / 2); + Vector2i p2 = new Vector2i(r2.bounds.x + r2.bounds.width / 2, r2.bounds.y + r2.bounds.height / 2); + if (p1.distanceSquared(p2) < 2 * minRoomSize * minRoomSize + 2) { + r2.bounds.x += (int) ((Math.random() - 0.5) * 5); + r2.bounds.y += (int) ((Math.random() - 0.5) * 2.5); + continue outest; + } + } + } + break; + } + + Set Q = new HashSet<>(); + for (Room r : rooms) + Q.add(new Vertex(r)); + Vertex root = Q.stream().min(Comparator.comparing(v -> v.r.bounds.x)).get(); + root.value = 0; + + Set E = new HashSet<>(); + Set G = new HashSet<>(); + Set F = new HashSet<>(); + for (Vertex r1 : Q) { + outer: for (Vertex r2 : Q) { + if (r1 == r2) + continue outer; + for (Edge e : E) + if (e.r2 == r1 && e.r1 == r2) + continue outer; + E.add(new Edge(r1, r2)); + } + } + F.add(root); + Q.remove(root); + + while (!Q.isEmpty()) { + Edge start = E.stream() + .filter(e -> (F.contains(e.r1) ^ F.contains(e.r2))) + .min(Comparator.comparing(e -> e.dist)).get(); + Q.remove(start.r2); + Q.remove(start.r1); + F.add(start.r2); + F.add(start.r1); + E.remove(start); + G.add(start); + if (start.r1.value < start.r2.value) { + start.r2.value = (float) (start.r1.value + start.dist); + } else { + start.r1.value = (float) (start.r2.value + start.dist); + } + } + return new Pair<>(rooms, new Pair<>(root, G)); + } +} \ No newline at end of file From 50d76e7ec2c5b973c5394c9454d91e80968c5369 Mon Sep 17 00:00:00 2001 From: Saibotk Date: Sun, 22 Apr 2018 02:23:13 +0200 Subject: [PATCH 3/9] GenerationProcessor --- Assets/Scripts/GameController.cs | 72 ++++++++- Assets/Scripts/GenerationProcessor.cs | 171 +++++++++++++++++++++ Assets/Scripts/GenerationProcessor.cs.meta | 11 ++ Assets/Scripts/Room.cs | 4 +- 4 files changed, 255 insertions(+), 3 deletions(-) create mode 100644 Assets/Scripts/GenerationProcessor.cs create mode 100644 Assets/Scripts/GenerationProcessor.cs.meta diff --git a/Assets/Scripts/GameController.cs b/Assets/Scripts/GameController.cs index ffd8047..afde710 100644 --- a/Assets/Scripts/GameController.cs +++ b/Assets/Scripts/GameController.cs @@ -11,6 +11,53 @@ public class GameController : MonoBehaviour { private Room start; private Room finish; + // Generation Settings + [Header("Tile Prefabs")] + [SerializeField] + GameObject BorderOuter; + [SerializeField] + GameObject BorderInner; + [SerializeField] + GameObject BorderSingle; + [SerializeField] + GameObject Ground; + [SerializeField] + GameObject Door; + [SerializeField] + GameObject Rock; + [SerializeField] + GameObject RockL; + [SerializeField] + GameObject RockU; + [SerializeField] + GameObject RockR; + [SerializeField] + GameObject RockD; + [SerializeField] + GameObject RockLU; + [SerializeField] + GameObject RockLR; + [SerializeField] + GameObject RockLD; + [SerializeField] + GameObject RockUR; + [SerializeField] + GameObject RockUD; + [SerializeField] + GameObject RockRD; + [SerializeField] + GameObject RockLURD; + [SerializeField] + GameObject RockLUD; + [SerializeField] + GameObject RockLUR; + [SerializeField] + GameObject RockURD; + [SerializeField] + GameObject RockLRD; + + private Dictionary genPrefabs; + private bool engineInitDone; public static GameController instance; @@ -25,8 +72,31 @@ public class GameController : MonoBehaviour { // Use this for initialization void Start () { + genPrefabs = new Dictionary(); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.BorderOuter, BorderOuter); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.BorderInner, BorderInner); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.BorderSingle, BorderSingle); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.Rock, Rock); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockL, RockL); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockU, RockU); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockR, RockR); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockD, RockD); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockLU, RockLU); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockLR, RockLR); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockLD, RockLD); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockLURD, RockLURD); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockRD, RockRD); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockUR, RockUR); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockUD, RockUD); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockLUD, RockLUD); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockLUR, RockLUR); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockURD, RockURD); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.RockLRD, RockLRD); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.Ground, Ground); + genPrefabs.Add(GenerationProcessor.ExtendedTileType.Door, Door); + //ChangeState(GameState.INIT); - } + } // Update is called once per frame void Update () { diff --git a/Assets/Scripts/GenerationProcessor.cs b/Assets/Scripts/GenerationProcessor.cs new file mode 100644 index 0000000..d21119d --- /dev/null +++ b/Assets/Scripts/GenerationProcessor.cs @@ -0,0 +1,171 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class GenerationProcessor { + public enum ExtendedTileType + { + BorderOuter, BorderInner, BorderSingle, Ground, Door, Rock, RockL, RockU, RockR, RockD, RockLU, RockLR, RockLD, RockUR, RockUD, RockRD, RockLURD, RockLUD, RockLUR, RockURD, RockLRD + } + Dictionary prefabs; + public GenerationProcessor(Dictionary prefabs) + { + this.prefabs = prefabs; + } + + public GameObject ProcessRoom(Dictionary d) + { + GameObject root = new GameObject + { + name = "Room" + }; + foreach (Vector2 v in d.Keys) + { + bool left = false; + bool top = false; + bool right = false; + bool bottom = false; + // left bound + if(d.ContainsKey(v + new Vector2(-1, 0))) + { + if(d[v + new Vector2(-1, 0)] == d[v]) + { + left = true; + } + } + // top bound + if (d.ContainsKey(v + new Vector2(0, 1))) + { + if (d[v + new Vector2(0, 1)] == d[v]) + { + top = true; + } + } + // right bound + if (d.ContainsKey(v + new Vector2(1, 0))) + { + if (d[v + new Vector2(1, 0)] == d[v]) + { + right = true; + } + } + // bottom bound + if (d.ContainsKey(v + new Vector2(0, -1))) + { + if (d[v + new Vector2(0, -1)] == d[v]) + { + bottom = true; + } + } + ExtendedTileType type = ExtendedTileType.Ground; + // --------------------------------------------------------------------------------------------------------------------------------------------- + // ^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~ + // + // *** W A R N I N G B A D C O D E A H E A D ! ! ! *** + // __________________________________________________________________________ + // + // DON'T WATCH, UNLESS YOU WANT TO GET TRAUMATIZED! + // + // ^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~^~!~ + // --------------------------------------------------------------------------------------------------------------------------------------------- + switch (d[v]) + { + case Room.TileType.WALL: + type = ExtendedTileType.BorderSingle; + if(top && left && d.ContainsKey(v + new Vector2(-1, -1)) || top && right && d.ContainsKey(v + new Vector2(1, -1)) || right && bottom && d.ContainsKey(v + new Vector2(1, 1)) || left && bottom && d.ContainsKey(v + new Vector2(-1, 1))) + { + type = ExtendedTileType.BorderOuter; + } else if(top && left || top && right || right && bottom || left && bottom) + { + type = ExtendedTileType.BorderInner; + } + break; + case Room.TileType.GROUND: + type = ExtendedTileType.Ground; + break; + case Room.TileType.DOOR: + type = ExtendedTileType.Door; + break; + case Room.TileType.ROCK: + type = ExtendedTileType.Rock; + if (top && !right && !left && !bottom) + { + type = ExtendedTileType.RockU; + } + if (left && !right && !bottom && !top) + { + type = ExtendedTileType.RockL; + } + if (right && !bottom && !left && !top) + { + type = ExtendedTileType.RockR; + } + if (bottom && !right && !left && !top) + { + type = ExtendedTileType.RockD; + } + if (left && top && !bottom && !right) + { + type = ExtendedTileType.RockLU; + } + if (left && right && !top && !bottom) + { + type = ExtendedTileType.RockLR; + } + if (left && bottom && !right && !top) + { + type = ExtendedTileType.RockLD; + } + if (top && right && !left && !bottom) + { + type = ExtendedTileType.RockUR; + } + if (top && bottom && !left && !right) + { + type = ExtendedTileType.RockUD; + } + if (right && bottom && !top && !left) + { + type = ExtendedTileType.RockRD; + } + + if (left && top && bottom && !right) + { + type = ExtendedTileType.RockLUD; + } + if (left && top && right && !bottom) + { + type = ExtendedTileType.RockLUR; + } + if (top && right && bottom && !left) + { + type = ExtendedTileType.RockURD; + } + if (left && right && bottom && !top) + { + type = ExtendedTileType.RockLRD; + } + if (left && top && right && bottom) + { + type = ExtendedTileType.RockLURD; + } + break; + } + + CreateGOFromType(v, type, root); + } + + return root; + } + + private GameObject CreateGOFromType(Vector2 v, ExtendedTileType t, GameObject root) + { + GameObject tmp = null; + if (prefabs.ContainsKey(t) && root != null) + { + tmp = GameObject.Instantiate(prefabs[t], root.transform); + tmp.transform.position = v; + } + return tmp; + } +} diff --git a/Assets/Scripts/GenerationProcessor.cs.meta b/Assets/Scripts/GenerationProcessor.cs.meta new file mode 100644 index 0000000..0e5b82f --- /dev/null +++ b/Assets/Scripts/GenerationProcessor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ff430f09ad5abe842954d226715a96aa +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Room.cs b/Assets/Scripts/Room.cs index 924ebbe..dcfc36a 100644 --- a/Assets/Scripts/Room.cs +++ b/Assets/Scripts/Room.cs @@ -5,11 +5,11 @@ using UnityEngine; public class Room : MonoBehaviour { public enum TileType { - GROUND, WALL, DOOR + GROUND, WALL, DOOR, ROCK } Vector2 position; - Map tiles; + Dictionary tiles; List doors; List spawnpoints; From 619c35d977c475c69ef6161f4c3b5ecb419e32cd Mon Sep 17 00:00:00 2001 From: ALoTron <34157676+ALoTron@users.noreply.github.com> Date: Sun, 22 Apr 2018 05:38:39 +0200 Subject: [PATCH 4/9] Added horizontal and vertical tunnel-generation --- Test/.idea/compiler.xml | 16 + ...thub_ben_manes_caffeine_caffeine_2_5_4.xml | 13 + .../Maven__com_google_guava_guava_19_0.xml | 13 + ...en__com_jakewharton_disklrucache_2_0_2.xml | 13 + .../Maven__net_jcip_jcip_annotations_1_0.xml | 13 + .../Maven__net_jpountz_lz4_lz4_1_3_0.xml | 13 + ..._collections_eclipse_collections_7_1_1.xml | 13 + ...lections_eclipse_collections_api_7_1_1.xml | 13 + ...ons_eclipse_collections_forkjoin_7_1_1.xml | 13 + ...o_org_eclipse_paho_client_mqttv3_1_0_2.xml | 13 + ..._jetbrains_kotlin_kotlin_runtime_1_0_7.xml | 13 + ...g_jetbrains_kotlin_kotlin_stdlib_1_0_7.xml | 13 + .../libraries/Maven__org_joml_joml_1_9_9.xml | 13 + .../Maven__org_mapdb_elsa_3_0_0_M5.xml | 13 + .../Maven__org_mapdb_mapdb_3_0_5.xml | 13 + Test/.idea/misc.xml | 13 + Test/.idea/modules.xml | 8 + Test/.idea/workspace.xml | 430 ++++++++++++++++++ Test/Test.iml | 43 ++ Test/src/LD41Map.java | 119 ++++- Test/src/constants.java | 4 + Test/target/classes/LD41Map$1.class | Bin 0 -> 2278 bytes Test/target/classes/LD41Map$2.class | Bin 0 -> 1468 bytes Test/target/classes/LD41Map$Edge.class | Bin 0 -> 643 bytes Test/target/classes/LD41Map$Room.class | Bin 0 -> 763 bytes Test/target/classes/LD41Map$TileType.class | Bin 0 -> 1009 bytes Test/target/classes/LD41Map$Vertex.class | Bin 0 -> 530 bytes Test/target/classes/LD41Map.class | Bin 0 -> 8811 bytes Test/target/classes/constants.class | Bin 0 -> 821 bytes 29 files changed, 810 insertions(+), 5 deletions(-) create mode 100644 Test/.idea/compiler.xml create mode 100644 Test/.idea/libraries/Maven__com_github_ben_manes_caffeine_caffeine_2_5_4.xml create mode 100644 Test/.idea/libraries/Maven__com_google_guava_guava_19_0.xml create mode 100644 Test/.idea/libraries/Maven__com_jakewharton_disklrucache_2_0_2.xml create mode 100644 Test/.idea/libraries/Maven__net_jcip_jcip_annotations_1_0.xml create mode 100644 Test/.idea/libraries/Maven__net_jpountz_lz4_lz4_1_3_0.xml create mode 100644 Test/.idea/libraries/Maven__org_eclipse_collections_eclipse_collections_7_1_1.xml create mode 100644 Test/.idea/libraries/Maven__org_eclipse_collections_eclipse_collections_api_7_1_1.xml create mode 100644 Test/.idea/libraries/Maven__org_eclipse_collections_eclipse_collections_forkjoin_7_1_1.xml create mode 100644 Test/.idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_0_2.xml create mode 100644 Test/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_runtime_1_0_7.xml create mode 100644 Test/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_1_0_7.xml create mode 100644 Test/.idea/libraries/Maven__org_joml_joml_1_9_9.xml create mode 100644 Test/.idea/libraries/Maven__org_mapdb_elsa_3_0_0_M5.xml create mode 100644 Test/.idea/libraries/Maven__org_mapdb_mapdb_3_0_5.xml create mode 100644 Test/.idea/misc.xml create mode 100644 Test/.idea/modules.xml create mode 100644 Test/.idea/workspace.xml create mode 100644 Test/Test.iml create mode 100644 Test/src/constants.java create mode 100644 Test/target/classes/LD41Map$1.class create mode 100644 Test/target/classes/LD41Map$2.class create mode 100644 Test/target/classes/LD41Map$Edge.class create mode 100644 Test/target/classes/LD41Map$Room.class create mode 100644 Test/target/classes/LD41Map$TileType.class create mode 100644 Test/target/classes/LD41Map$Vertex.class create mode 100644 Test/target/classes/LD41Map.class create mode 100644 Test/target/classes/constants.class diff --git a/Test/.idea/compiler.xml b/Test/.idea/compiler.xml new file mode 100644 index 0000000..3397fb5 --- /dev/null +++ b/Test/.idea/compiler.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__com_github_ben_manes_caffeine_caffeine_2_5_4.xml b/Test/.idea/libraries/Maven__com_github_ben_manes_caffeine_caffeine_2_5_4.xml new file mode 100644 index 0000000..27679fd --- /dev/null +++ b/Test/.idea/libraries/Maven__com_github_ben_manes_caffeine_caffeine_2_5_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__com_google_guava_guava_19_0.xml b/Test/.idea/libraries/Maven__com_google_guava_guava_19_0.xml new file mode 100644 index 0000000..68e23cc --- /dev/null +++ b/Test/.idea/libraries/Maven__com_google_guava_guava_19_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__com_jakewharton_disklrucache_2_0_2.xml b/Test/.idea/libraries/Maven__com_jakewharton_disklrucache_2_0_2.xml new file mode 100644 index 0000000..4c9c65a --- /dev/null +++ b/Test/.idea/libraries/Maven__com_jakewharton_disklrucache_2_0_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__net_jcip_jcip_annotations_1_0.xml b/Test/.idea/libraries/Maven__net_jcip_jcip_annotations_1_0.xml new file mode 100644 index 0000000..d29c82f --- /dev/null +++ b/Test/.idea/libraries/Maven__net_jcip_jcip_annotations_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__net_jpountz_lz4_lz4_1_3_0.xml b/Test/.idea/libraries/Maven__net_jpountz_lz4_lz4_1_3_0.xml new file mode 100644 index 0000000..7e9fceb --- /dev/null +++ b/Test/.idea/libraries/Maven__net_jpountz_lz4_lz4_1_3_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__org_eclipse_collections_eclipse_collections_7_1_1.xml b/Test/.idea/libraries/Maven__org_eclipse_collections_eclipse_collections_7_1_1.xml new file mode 100644 index 0000000..90ce9f6 --- /dev/null +++ b/Test/.idea/libraries/Maven__org_eclipse_collections_eclipse_collections_7_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__org_eclipse_collections_eclipse_collections_api_7_1_1.xml b/Test/.idea/libraries/Maven__org_eclipse_collections_eclipse_collections_api_7_1_1.xml new file mode 100644 index 0000000..42bf864 --- /dev/null +++ b/Test/.idea/libraries/Maven__org_eclipse_collections_eclipse_collections_api_7_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__org_eclipse_collections_eclipse_collections_forkjoin_7_1_1.xml b/Test/.idea/libraries/Maven__org_eclipse_collections_eclipse_collections_forkjoin_7_1_1.xml new file mode 100644 index 0000000..73f6f2f --- /dev/null +++ b/Test/.idea/libraries/Maven__org_eclipse_collections_eclipse_collections_forkjoin_7_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_0_2.xml b/Test/.idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_0_2.xml new file mode 100644 index 0000000..dc617d7 --- /dev/null +++ b/Test/.idea/libraries/Maven__org_eclipse_paho_org_eclipse_paho_client_mqttv3_1_0_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_runtime_1_0_7.xml b/Test/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_runtime_1_0_7.xml new file mode 100644 index 0000000..e82e922 --- /dev/null +++ b/Test/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_runtime_1_0_7.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_1_0_7.xml b/Test/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_1_0_7.xml new file mode 100644 index 0000000..b8dd791 --- /dev/null +++ b/Test/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_1_0_7.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__org_joml_joml_1_9_9.xml b/Test/.idea/libraries/Maven__org_joml_joml_1_9_9.xml new file mode 100644 index 0000000..892f829 --- /dev/null +++ b/Test/.idea/libraries/Maven__org_joml_joml_1_9_9.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__org_mapdb_elsa_3_0_0_M5.xml b/Test/.idea/libraries/Maven__org_mapdb_elsa_3_0_0_M5.xml new file mode 100644 index 0000000..f22e4e1 --- /dev/null +++ b/Test/.idea/libraries/Maven__org_mapdb_elsa_3_0_0_M5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/libraries/Maven__org_mapdb_mapdb_3_0_5.xml b/Test/.idea/libraries/Maven__org_mapdb_mapdb_3_0_5.xml new file mode 100644 index 0000000..b54735d --- /dev/null +++ b/Test/.idea/libraries/Maven__org_mapdb_mapdb_3_0_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/misc.xml b/Test/.idea/misc.xml new file mode 100644 index 0000000..b2d3cbb --- /dev/null +++ b/Test/.idea/misc.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/modules.xml b/Test/.idea/modules.xml new file mode 100644 index 0000000..1a0e57f --- /dev/null +++ b/Test/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Test/.idea/workspace.xml b/Test/.idea/workspace.xml new file mode 100644 index 0000000..4cad943 --- /dev/null +++ b/Test/.idea/workspace.xml @@ -0,0 +1,430 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Room + room + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +