diff options
author | Aidan Ross <aross02@fairport.org> | 2023-05-17 08:55:09 -0400 |
---|---|---|
committer | Aidan Ross <aross02@fairport.org> | 2023-05-17 08:55:09 -0400 |
commit | a7b4e891e02811222a2fcde1335b97ac1575bba9 (patch) | |
tree | 3b8dd69cad7c49119656bec1c357dbcdf3402d55 /src/fallTest/LaneInfo.java | |
parent | 0ec11156c87afc066b1a6ef8f569aedad3a16ae5 (diff) | |
download | NPEhero-a7b4e891e02811222a2fcde1335b97ac1575bba9.tar.gz NPEhero-a7b4e891e02811222a2fcde1335b97ac1575bba9.tar.bz2 NPEhero-a7b4e891e02811222a2fcde1335b97ac1575bba9.zip |
Making the buttons smaller, and began setting up the note visualization
Diffstat (limited to '')
-rw-r--r-- | src/fallTest/LaneInfo.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/fallTest/LaneInfo.java b/src/fallTest/LaneInfo.java new file mode 100644 index 0000000..5eef143 --- /dev/null +++ b/src/fallTest/LaneInfo.java @@ -0,0 +1,27 @@ +package fallTest;
+
+import java.util.ArrayList;
+import java.util.LinkedList;
+import java.util.Queue;
+
+import javax.swing.JButton;
+
+public class LaneInfo {
+ Queue<NoteInfo> sends = new LinkedList<NoteInfo>(); //Queue that dictates when to send the notes
+ ArrayList<Block> nodes = new ArrayList<Block>(); //Array list containing all the notes currently on the field
+ public void addSends(int t) {
+ sends.add(new NoteInfo(t));
+ }
+
+ public void addNodes(int t) {
+ nodes.add(new Block());
+ }
+
+ public ArrayList<Block> getNodes() {
+ return nodes;
+ }
+
+ public Queue<NoteInfo> getSends() {
+ return sends;
+ }
+}
|