From a7b4e891e02811222a2fcde1335b97ac1575bba9 Mon Sep 17 00:00:00 2001 From: Aidan Ross Date: Wed, 17 May 2023 08:55:09 -0400 Subject: Making the buttons smaller, and began setting up the note visualization --- src/fallTest/LaneInfo.java | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/fallTest/LaneInfo.java (limited to 'src/fallTest/LaneInfo.java') 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 sends = new LinkedList(); //Queue that dictates when to send the notes + ArrayList nodes = new ArrayList(); //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 getNodes() { + return nodes; + } + + public Queue getSends() { + return sends; + } +} -- cgit v1.2.3 From bc7c7d96419a10d85e6b4a2ec5e1a2cbe78de9b1 Mon Sep 17 00:00:00 2001 From: Aidan Ross Date: Wed, 17 May 2023 09:05:37 -0400 Subject: resized buttons and set up infrastructure for the note animation --- src/fallTest/LaneInfo.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/fallTest/LaneInfo.java') diff --git a/src/fallTest/LaneInfo.java b/src/fallTest/LaneInfo.java index 5eef143..7fe5567 100644 --- a/src/fallTest/LaneInfo.java +++ b/src/fallTest/LaneInfo.java @@ -7,6 +7,7 @@ import java.util.Queue; import javax.swing.JButton; public class LaneInfo { + //test Queue sends = new LinkedList(); //Queue that dictates when to send the notes ArrayList nodes = new ArrayList(); //Array list containing all the notes currently on the field public void addSends(int t) { -- cgit v1.2.3