diff options
author | Nao Pross <naopross@thearcway.org> | 2018-11-19 13:11:43 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-11-19 13:11:43 +0100 |
commit | 2c176589c24093ae93ec45e8d208dce81c27a515 (patch) | |
tree | eba17e826ed3e159c03b2b4ccc269c1bae131693 /src/MapLoader.java | |
parent | Set up CardLayout for GameWindow and Scene pause/resume (diff) | |
download | Subconscious-java-2c176589c24093ae93ec45e8d208dce81c27a515.tar.gz Subconscious-java-2c176589c24093ae93ec45e8d208dce81c27a515.zip |
Create java package for the project
Diffstat (limited to '')
-rw-r--r-- | src/subconscious/MapLoader.java (renamed from src/MapLoader.java) | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/MapLoader.java b/src/subconscious/MapLoader.java index 4bd4e02..2233a8d 100644 --- a/src/MapLoader.java +++ b/src/subconscious/MapLoader.java @@ -1,3 +1,5 @@ +package subconscious; + import java.lang.String; // TODO: use java.nio? http://tutorials.jenkov.com/java-nio/nio-vs-io.html @@ -13,7 +15,7 @@ import java.awt.Dimension; import com.google.gson.Gson; // TODO: this class loads AND saves classes, refractor name -class MapLoader { +public class MapLoader { File path; public MapLoader(Object path) { |