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/drawables/Background.ts | |
| parent | ef76266d1a61c02f1721efedc830fab12279d2b9 (diff) | |
| download | 1942-b4defa324a330217f0139f1240bcf53c0b1f996a.tar.gz 1942-b4defa324a330217f0139f1240bcf53c0b1f996a.tar.zst 1942-b4defa324a330217f0139f1240bcf53c0b1f996a.zip | |
v1.0.0
Diffstat (limited to 'src/drawables/Background.ts')
| -rw-r--r-- | src/drawables/Background.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drawables/Background.ts b/src/drawables/Background.ts index 622a608..f6c4cec 100644 --- a/src/drawables/Background.ts +++ b/src/drawables/Background.ts @@ -10,10 +10,11 @@ export class Background extends Drawable { super(0, 0) } // delta = -1751 + 24 + 2693; - delta = 2500 + delta = 0 move() { if (this.delta + 1 > 2580) return true this.delta += 1; + return true; } draw() { |
