Skip to content

Commit

Permalink
changed refresh times
Browse files Browse the repository at this point in the history
  • Loading branch information
Totenfluch committed Apr 12, 2016
1 parent 9c2aa0e commit d1b30ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Blockinvaders/src/me/game/pack/Frame.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public void handle(ActionEvent event) {
MainStage.show();


tf = new Timeline(new KeyFrame(Duration.millis(10), new EventHandler<ActionEvent>() {
tf = new Timeline(new KeyFrame(Duration.millis(5), new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent arg0) {
frames++;
Expand Down Expand Up @@ -329,7 +329,7 @@ else if(pd.equals(Drops.ADDSCORE))
}
}));

rTf = new Timeline(new KeyFrame(Duration.millis(10), new EventHandler<ActionEvent>() {
rTf = new Timeline(new KeyFrame(Duration.millis(8), new EventHandler<ActionEvent>() {
public void handle(ActionEvent arg0) {
long time = System.nanoTime();

Expand Down

0 comments on commit d1b30ed

Please sign in to comment.