blob: a954a2c5365c86e448efc168a6f0626e224b8a81 (
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
|
/*Name: Guitar Hero Project
*Description: Contains the information for a single note on the field
*/
package gameplay;
import javafx.animation.TranslateTransition;
public class NoteField
{
private Block note;
private TranslateTransition anim;
public NoteField(Block newNote, TranslateTransition newAnim) {
note = newNote;
anim = newAnim;
}
public Block getNote() {
return note;
}
public TranslateTransition getAnim() {
return anim;
}
}
|