diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/Level.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/main/Level.java b/src/main/Level.java index 2b367d3..f02bb46 100644 --- a/src/main/Level.java +++ b/src/main/Level.java @@ -25,7 +25,7 @@ public class Level public ArrayList<Difficulty> diffList = new ArrayList<Difficulty>(); public Image background; //optional - public Color[] colors; //optional, have default colors + public Color[] colors = new Color[5];//optional, have default colors private JSONObject levelStuff; @@ -49,11 +49,10 @@ public class Level artist = (SimpleStringProperty)(levelStuff.get("title")); desc = (String)(levelStuff.get("title")); - - - - - + if(levelStuff.has("color1")) + { + + } } catch (FileNotFoundException e) { |