diff options
Diffstat (limited to 'src/fallTest/LaneInfo.java')
-rw-r--r-- | src/fallTest/LaneInfo.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/fallTest/LaneInfo.java b/src/fallTest/LaneInfo.java new file mode 100644 index 0000000..7fe5567 --- /dev/null +++ b/src/fallTest/LaneInfo.java @@ -0,0 +1,28 @@ +package fallTest;
+
+import java.util.ArrayList;
+import java.util.LinkedList;
+import java.util.Queue;
+
+import javax.swing.JButton;
+
+public class LaneInfo {
+ //test
+ 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;
+ }
+}
|