aboutsummaryrefslogtreecommitdiff
path: root/src/main/Level.java
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2023-05-19 01:15:47 -0400
committersowgro <tpoke.ferrari@gmail.com>2023-05-19 01:15:47 -0400
commit7c106e7dda744e7d3782737262601de693db0dca (patch)
treefccec4b5825bb63e2d1195dce431f063ac87f5cb /src/main/Level.java
parentfe9794bdc8270b43ed5ae847d65ea2a2eecd4a79 (diff)
downloadNPEhero-7c106e7dda744e7d3782737262601de693db0dca.tar.gz
NPEhero-7c106e7dda744e7d3782737262601de693db0dca.tar.bz2
NPEhero-7c106e7dda744e7d3782737262601de693db0dca.zip
- overhaul css (not done)
- rewrite driver - add difficulty buttons - remove placeholders (not done)
Diffstat (limited to 'src/main/Level.java')
-rw-r--r--src/main/Level.java20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/main/Level.java b/src/main/Level.java
index 52047fd..71560d2 100644
--- a/src/main/Level.java
+++ b/src/main/Level.java
@@ -8,18 +8,22 @@ import javafx.scene.paint.Color;
public class Level
{
- private Color[] colors;
- private Image background;
- private Image preview;
- private String text;
- private String desc;
- //private ArrayList<String>();
+ public Image preview;
+ public String title;
+ public String aritst;
+ public String desc;
+ public ArrayList<String> diffList = new ArrayList<String>();
+
+ public Image background;
+ public Color[] colors;
- //google "varargs" to see how this works
public void setColors(Color... newColors)
{
colors = newColors;
}
- //INCOMPLETE
+ public String toString()
+ {
+ return title+" - "+aritst;
+ }
}