Removed sliding effect
This commit is contained in:
parent
52a5b2ed2f
commit
80d370eee5
|
@ -27,6 +27,7 @@ class Box {
|
|||
|
||||
collide(y) {
|
||||
this.y = y;
|
||||
this.speedX = 0;
|
||||
this.speedY = 0;
|
||||
this.jumpCounter = MAX_JUMP;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue