diff options
author | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2024-12-28 23:10:12 +0100 |
---|---|---|
committer | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2024-12-28 23:10:12 +0100 |
commit | 4c04942551dc83755b6578398742745dfde6d544 (patch) | |
tree | 2df7f65827eba9ba2802636537a3a9eaaf71eaca | |
parent | 9656dbab74005a0814459037b4e79285586c0e27 (diff) |
-rw-r--r-- | src/entities/boshy.js | 1 | ||||
-rw-r--r-- | src/entities/hello_kitty/bullet.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/boshy.js b/src/entities/boshy.js index d2d723f..b8ed2fe 100644 --- a/src/entities/boshy.js +++ b/src/entities/boshy.js @@ -18,6 +18,7 @@ export class Boshy extends Entity { constructor() { super({ size: new Vector(30, 30), + hitbox: new Vector(20, 20), position: new Vector(325, 400), sprite: BOSHY.NORMAL, }) diff --git a/src/entities/hello_kitty/bullet.js b/src/entities/hello_kitty/bullet.js index 80ad2dd..1f68ba6 100644 --- a/src/entities/hello_kitty/bullet.js +++ b/src/entities/hello_kitty/bullet.js @@ -13,6 +13,7 @@ export class Bullet extends Entity { }) { super({ size: new Vector(30, 30), + hitbox: new Vector(20, 20), position: position, sprite: HELLO_KITTY.BULLET, degrees: degrees |