blob: 7fe5567fb6dcc7aa62ba14c4ed68a1303b10aa59 (
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
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;
}
}
|