summaryrefslogtreecommitdiffstats
path: root/src/MapLoader.java
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-11-19 00:02:46 +0100
committerNao Pross <naopross@thearcway.org>2018-11-19 00:02:46 +0100
commitbf6bbd5609cd125d8b3e5a7fbe6f2cd49146af49 (patch)
treed16adf89b93b44c4a040725b54dbfe5ccf84ef14 /src/MapLoader.java
parentAdd gitignore, remove binaries (diff)
downloadSubconscious-java-bf6bbd5609cd125d8b3e5a7fbe6f2cd49146af49.tar.gz
Subconscious-java-bf6bbd5609cd125d8b3e5a7fbe6f2cd49146af49.zip
Add TODOs for various correctionsHEADmaster
Diffstat (limited to '')
-rw-r--r--src/MapLoader.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/MapLoader.java b/src/MapLoader.java
index 6478961..b55f2ac 100644
--- a/src/MapLoader.java
+++ b/src/MapLoader.java
@@ -1,13 +1,17 @@
import java.lang.String;
+
import java.io.File;
import java.io.PrintWriter;
import java.io.FileReader;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
+
import java.awt.Dimension;
+
import com.google.gson.Gson;
+// TODO: this class loads AND saves classes, refractor name
class MapLoader {
File path;
@@ -28,6 +32,7 @@ class MapLoader {
try {
fr = new FileReader(this.path);
bf = new BufferedReader(fr);
+ // TODO: read all
while ((line = bf.readLine()) != null) {
mapText = mapText + line;
}