diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2022-06-02 23:13:07 +0200 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2022-06-02 23:16:33 +0200 |
| commit | b4defa324a330217f0139f1240bcf53c0b1f996a (patch) | |
| tree | deabb94fd351b10d3d6b38d967424149536b3927 /src/enemies/Red1.ts | |
| parent | ef76266d1a61c02f1721efedc830fab12279d2b9 (diff) | |
| download | 1942-b4defa324a330217f0139f1240bcf53c0b1f996a.tar.gz 1942-b4defa324a330217f0139f1240bcf53c0b1f996a.tar.zst 1942-b4defa324a330217f0139f1240bcf53c0b1f996a.zip | |
v1.0.0
Diffstat (limited to 'src/enemies/Red1.ts')
| -rw-r--r-- | src/enemies/Red1.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/enemies/Red1.ts b/src/enemies/Red1.ts index 9c50820..18fdb6f 100644 --- a/src/enemies/Red1.ts +++ b/src/enemies/Red1.ts @@ -6,7 +6,7 @@ export default class Red1 extends Enemy { sprite = IMGS.redRight; width = IMGS.redRight.width; height = IMGS.redRight.height; - vel = 3 + vel = 3.5 phase = 0; spriteNum = 1; i = 0; @@ -190,6 +190,6 @@ export default class Red1 extends Enemy { this.squares = [new Rectangle(this, 2, 2, this.width - 4, this.height - 4)] return this.isOutsideMap() } - shoot(): boolean { return false } + shoot() { return false } deathAnim = getSmallDeathAnim(this) } |
