blob: 8ab822cd717dd712de3a8cfc76b5f3d04729f841 (
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
|
/*Name: Guitar Hero Project
*Description: Contains the info for when to send a note
*/
package fallTest;
import javafx.scene.paint.Color;
public class NoteInfo
{
private int sendTime;
private Color col;
public NoteInfo(int t) {
sendTime = t;
}
public int getTime() {
return sendTime;
}
public Color getColor() {
return col;
}
public int compareTo(NoteInfo other) {
return sendTime - other.sendTime;
}
}
|