Removed unnecessary x = 0 and y = 0

This commit is contained in:
NichtStudioCode 2021-01-27 19:31:09 +01:00
parent 83f1da5ed8
commit 3eb57e9fae
2 changed files with 0 additions and 2 deletions

@ -20,7 +20,6 @@ public class HorizontalSnakeAnimation extends SoundAnimation {
if (left) {
if (x <= 0) {
y++;
x = 0;
left = false;
} else x--;
} else {

@ -20,7 +20,6 @@ public class VerticalSnakeAnimation extends SoundAnimation {
if (up) {
if (y <= 0) {
x++;
y = 0;
up = false;
} else y--;
} else {