diff options
author | Nao Pross <naopross@thearcway.org> | 2018-11-19 00:02:46 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-11-19 00:02:46 +0100 |
commit | bf6bbd5609cd125d8b3e5a7fbe6f2cd49146af49 (patch) | |
tree | d16adf89b93b44c4a040725b54dbfe5ccf84ef14 /src/MapLoader.java | |
parent | Add gitignore, remove binaries (diff) | |
download | Subconscious-java-bf6bbd5609cd125d8b3e5a7fbe6f2cd49146af49.tar.gz Subconscious-java-bf6bbd5609cd125d8b3e5a7fbe6f2cd49146af49.zip |
Diffstat (limited to '')
-rw-r--r-- | src/MapLoader.java | 5 |
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; } |