blob: 5eef1438b474c5afbf69d53858143762a6eb36ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
}
}
|