blob: a34e939417603077dd1c554f890000d213f5ac71 (
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 net.sowgro.npehero.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;
}
}
|