diff options
| author | Aidan Ross <aross02@fairport.org> | 2023-05-17 09:05:37 -0400 | 
|---|---|---|
| committer | Aidan Ross <aross02@fairport.org> | 2023-05-17 09:37:36 -0400 | 
| commit | bc7c7d96419a10d85e6b4a2ec5e1a2cbe78de9b1 (patch) | |
| tree | 6fab0cefa49122ebbc8cc37dfa80f3dfb8cd8a6b | |
| parent | a7b4e891e02811222a2fcde1335b97ac1575bba9 (diff) | |
| download | NPEhero-bc7c7d96419a10d85e6b4a2ec5e1a2cbe78de9b1.tar.gz NPEhero-bc7c7d96419a10d85e6b4a2ec5e1a2cbe78de9b1.tar.bz2 NPEhero-bc7c7d96419a10d85e6b4a2ec5e1a2cbe78de9b1.zip | |
resized buttons and set up infrastructure for the note animation
| -rw-r--r-- | src/fallTest/LaneInfo.java | 1 | ||||
| -rw-r--r-- | src/fallTest/NoteNode.java | 2 | ||||
| -rw-r--r-- | src/fallTest/newSongPlayer.java | 2 | 
3 files changed, 3 insertions, 2 deletions
| diff --git a/src/fallTest/LaneInfo.java b/src/fallTest/LaneInfo.java index 5eef143..7fe5567 100644 --- a/src/fallTest/LaneInfo.java +++ b/src/fallTest/LaneInfo.java @@ -7,6 +7,7 @@ import java.util.Queue;  import javax.swing.JButton;
  public class LaneInfo {
 +	//test
      Queue<NoteInfo> sends = new LinkedList<NoteInfo>();         //Queue that dictates when to send the notes
      ArrayList<Block> nodes = new ArrayList<Block>();       //Array list containing all the notes currently on the field
      public void addSends(int t) {
 diff --git a/src/fallTest/NoteNode.java b/src/fallTest/NoteNode.java index 3a29142..64e1b8a 100644 --- a/src/fallTest/NoteNode.java +++ b/src/fallTest/NoteNode.java @@ -12,7 +12,7 @@ public class NoteNode {  		vis=newVis;
  		info = newInfo;
  		anim.setNode(vis);
 -		anim.setByY();
 +		anim.setByY(height);
  		anim.setCycleCount(1);
  		anim.setAutoReverse(false);
  		anim.play();
 diff --git a/src/fallTest/newSongPlayer.java b/src/fallTest/newSongPlayer.java index f9affad..46d6e4b 100644 --- a/src/fallTest/newSongPlayer.java +++ b/src/fallTest/newSongPlayer.java @@ -32,7 +32,7 @@ public class newSongPlayer extends Pane  {
      Timer time = new Timer();
 -    private double dLaneX;
 +    private double dLaneX = 0;
  	public void init() {
 | 
