aboutsummaryrefslogtreecommitdiff
path: root/src/fallTest/NoteNode.java
diff options
context:
space:
mode:
authorAidan Ross <aross02@fairport.org>2023-05-24 08:54:44 -0400
committerAidan Ross <aross02@fairport.org>2023-05-24 08:54:44 -0400
commitb47c8be84cc5b269e32dc44f7e67a1dd426d5349 (patch)
tree14d1eecd5182b92d4ee7c99cff1cbd3a758ffbb0 /src/fallTest/NoteNode.java
parent4b24f4b8e14cdcb6f03db1a3bb14a7417c638672 (diff)
downloadNPEhero-b47c8be84cc5b269e32dc44f7e67a1dd426d5349.tar.gz
NPEhero-b47c8be84cc5b269e32dc44f7e67a1dd426d5349.tar.bz2
NPEhero-b47c8be84cc5b269e32dc44f7e67a1dd426d5349.zip
Trying to combine every file oh my god
Diffstat (limited to 'src/fallTest/NoteNode.java')
-rw-r--r--src/fallTest/NoteNode.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/fallTest/NoteNode.java b/src/fallTest/NoteNode.java
deleted file mode 100644
index 64e1b8a..0000000
--- a/src/fallTest/NoteNode.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package fallTest;
-
-import javafx.animation.*;
-import javafx.util.Duration;
-
-public class NoteNode {
- private final int TIME = 20;
- private NoteField info;
- private Block vis;
- TranslateTransition anim = new TranslateTransition(Duration.millis(TIME));
- public NoteNode(NoteField newInfo, Block newVis) {
- vis=newVis;
- info = newInfo;
- anim.setNode(vis);
- anim.setByY(height);
- anim.setCycleCount(1);
- anim.setAutoReverse(false);
- anim.play();
- }
-}