blob: 64280666ae0849bc39a82e3eb751a47da6a01e26 (
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 gameplay;
import javafx.scene.paint.Color;
public class NoteInfo
{
private double sendTime;
private Color col;
public NoteInfo(double t) {
sendTime = t;
}
public double getTime() {
return sendTime;
}
public Color getColor() {
return col;
}
public double compareTo(NoteInfo other) {
return sendTime - other.sendTime;
}
}
|