Browse Source

60 fps 500 millisecs angepeilt :)

Kevin Trometer 7 years ago
parent
commit
0bc10c231e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/ui/view/MyCanvas.java

+ 2 - 2
src/ui/view/MyCanvas.java

@@ -89,10 +89,10 @@ public class MyCanvas extends JPanel implements MouseListener, MouseMotionListen
 												// rightclicked
 
 	javax.swing.Timer animT; // animation Timer
-	private final int ANIMTIME = 5000; //animation Time
+	private final int ANIMTIME = 500; //animation Time
 	
 	private ArrayList<AbstractCpsObject> animCps = null;
-	private int animFPS = 30;
+	private int animFPS = 60;
 	private int animDuration = ANIMTIME; // animation Duration
 	private int animDelay = 1000 / animFPS; // animation Delay
 	private int animSteps = animDuration / animDelay; // animation Steps;