Fix Station Alpha JSON.
authorSimon Cross <hodgestar@gmail.com>
Sun, 4 Sep 2016 16:17:05 +0000 (18:17 +0200)
committerSimon Cross <hodgestar@gmail.com>
Sun, 4 Sep 2016 16:17:05 +0000 (18:17 +0200)
data/levels/station-alpha.json [deleted file]
data/stations/station-alpha.json [new file with mode: 0644]

diff --git a/data/levels/station-alpha.json b/data/levels/station-alpha.json
deleted file mode 100644 (file)
index 6d4b7e1..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-{
-  "config": {
-    "name": "Station Alpha",
-    "power": 100,
-    "seeds": 10,
-  },
-  "obstacles": [
-    {
-      "type": "wall",
-      "vertices": [
-        [400, 400], [450, 400], [450, 450], [400, 450]
-      ]
-    },
-    {
-      "type": "wall",
-      "vertices": [
-        [800, 400], [850, 400], [850, 450], [800, 450]
-      ]
-    }
-  ],
-  "lights": [
-    {
-      "type": "spotlight",
-      "colour": "red",
-      "position": [700, 500],
-      "direction": 90.0,
-      "spread": 45.0,
-    },
-    {
-      "type": "spotlight",
-      "colour": "yellow",
-      "position": [500, 500],
-      "direction": -90.0,
-      "spread": 45.0,
-    },
-  ]
-}
diff --git a/data/stations/station-alpha.json b/data/stations/station-alpha.json
new file mode 100644 (file)
index 0000000..cf0936a
--- /dev/null
@@ -0,0 +1,37 @@
+{
+  "config": {
+    "name": "Station Alpha",
+    "power": 100,
+    "seeds": 10
+  },
+  "obstacles": [
+    {
+      "type": "wall",
+      "vertices": [
+        [400, 400], [450, 400], [450, 450], [400, 450]
+      ]
+    },
+    {
+      "type": "wall",
+      "vertices": [
+        [800, 400], [850, 400], [850, 450], [800, 450]
+      ]
+    }
+  ],
+  "lights": [
+    {
+      "type": "spotlight",
+      "colour": "red",
+      "position": [700, 500],
+      "direction": 90.0,
+      "spread": 45.0
+    },
+    {
+      "type": "spotlight",
+      "colour": "yellow",
+      "position": [500, 500],
+      "direction": -90.0,
+      "spread": 45.0
+    }
+  ]
+}