Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-2/cuujooceevii61
This commit is contained in:
@@ -178,7 +178,7 @@ function draw() {
|
||||
|
||||
bullets.forEach(myBullet => {
|
||||
//zolang mybullet bestaat blijft hij drawen en updaten
|
||||
({ hit, shot, isOffScreen } = myBullet.update(playerPosX, playerPosY));
|
||||
({ hit, shot, isOffScreen, originalPos } = myBullet.update(playerPosX, playerPosY));
|
||||
myBullet.draw();
|
||||
|
||||
if (isOffScreen == true) {
|
||||
|
Reference in New Issue
Block a user