summaryrefslogtreecommitdiffstats
path: root/src/MapLoader.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/MapLoader.java')
-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;
}