Display before moving

This commit is contained in:
Luke Murphy 2020-01-31 19:44:27 +01:00
parent a3dbca7180
commit 3deb7b2a57
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -283,8 +283,8 @@ function draw() {
}
for (var shape of shapes) {
shape.move();
shape.display();
shape.move();
if (shape.collide(shapes) === true) {
shape.sound();
}