aboutsummaryrefslogtreecommitdiff
path: root/src/fallTest/NoteField.java
blob: 956acd2851cc7454005781b5abfc538a73b1ea14 (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 fallTest;

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;
    }
}