dont need that one
This commit is contained in:
@@ -75,9 +75,6 @@ public class GameHandler implements KeyListener {
|
|||||||
ateApple = true;
|
ateApple = true;
|
||||||
score++;
|
score++;
|
||||||
SnakeGame.currentRefreshInterval = Math.max(50, DEFAULT_REFRESH_INTERVAL - score);
|
SnakeGame.currentRefreshInterval = Math.max(50, DEFAULT_REFRESH_INTERVAL - score);
|
||||||
if (score == 15) {
|
|
||||||
game.stop();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ateApple) {
|
if (!ateApple) {
|
||||||
|
|||||||
Reference in New Issue
Block a user