Display before moving
This commit is contained in:
parent
a3dbca7180
commit
3deb7b2a57
@ -283,8 +283,8 @@ function draw() {
|
||||
}
|
||||
|
||||
for (var shape of shapes) {
|
||||
shape.move();
|
||||
shape.display();
|
||||
shape.move();
|
||||
if (shape.collide(shapes) === true) {
|
||||
shape.sound();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user